pub struct LoggingSettings {
pub driver: Option<LoggingDriver>,
pub options: Option<BTreeMap<String, Option<StringOrNum>>>,
}Expand description
Defines the logging configuration.
See more: https://docs.docker.com/engine/logging/configure/
Fields§
§driver: Option<LoggingDriver>Logging driver to use, such as ‘json-file’, ‘syslog’, ‘journald’, etc.
options: Option<BTreeMap<String, Option<StringOrNum>>>Options for the logging driver.
Trait Implementations§
Source§impl Clone for LoggingSettings
impl Clone for LoggingSettings
Source§fn clone(&self) -> LoggingSettings
fn clone(&self) -> LoggingSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoggingSettings
impl Debug for LoggingSettings
Source§impl Default for LoggingSettings
impl Default for LoggingSettings
Source§fn default() -> LoggingSettings
fn default() -> LoggingSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingSettingswhere
LoggingSettings: Default,
impl<'de> Deserialize<'de> for LoggingSettingswhere
LoggingSettings: Default,
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
Source§impl PartialEq for LoggingSettings
impl PartialEq for LoggingSettings
Source§impl Serialize for LoggingSettings
impl Serialize for LoggingSettings
impl Eq for LoggingSettings
impl StructuralPartialEq for LoggingSettings
Auto Trait Implementations§
impl Freeze for LoggingSettings
impl RefUnwindSafe for LoggingSettings
impl Send for LoggingSettings
impl Sync for LoggingSettings
impl Unpin for LoggingSettings
impl UnsafeUnpin for LoggingSettings
impl UnwindSafe for LoggingSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.