pub struct ServiceTaskSpecLogDriver {
pub name: Box<String>,
pub options: Box<Option<HashMap<String, String>>>,
}
Fields§
§name: Box<String>
The logging driver to use
options: Box<Option<HashMap<String, String>>>
The options for the logging driver
Implementations§
source§impl ServiceTaskSpecLogDriver
impl ServiceTaskSpecLogDriver
sourcepub fn builder() -> ServiceTaskSpecLogDriverBuilder
pub fn builder() -> ServiceTaskSpecLogDriverBuilder
Create an instance of ServiceTaskSpecLogDriver
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceTaskSpecLogDriver
impl Debug for ServiceTaskSpecLogDriver
source§impl<'de> Deserialize<'de> for ServiceTaskSpecLogDriver
impl<'de> Deserialize<'de> for ServiceTaskSpecLogDriver
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceTaskSpecLogDriver
impl RefUnwindSafe for ServiceTaskSpecLogDriver
impl Send for ServiceTaskSpecLogDriver
impl Sync for ServiceTaskSpecLogDriver
impl Unpin for ServiceTaskSpecLogDriver
impl UnwindSafe for ServiceTaskSpecLogDriver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more