pub struct LogConfigLibpod {
pub driver: Option<String>,
pub options: Option<HashMap<String, String>>,
pub path: Option<String>,
pub size: Option<i64>,
}
Expand description
LogConfig describes the logging characteristics for a container
Fields§
§driver: Option<String>
LogDriver is the container’s log driver. Optional.
options: Option<HashMap<String, String>>
A set of options to accompany the log driver. Optional.
path: Option<String>
LogPath is the path the container’s logs will be stored at. Only available if LogDriver is set to “json-file” or “k8s-file”. Optional.
size: Option<i64>
Size is the maximum size of the log file Optional.
Trait Implementations§
Source§impl Clone for LogConfigLibpod
impl Clone for LogConfigLibpod
Source§fn clone(&self) -> LogConfigLibpod
fn clone(&self) -> LogConfigLibpod
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogConfigLibpod
impl Debug for LogConfigLibpod
Source§impl<'de> Deserialize<'de> for LogConfigLibpod
impl<'de> Deserialize<'de> for LogConfigLibpod
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogConfigLibpod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogConfigLibpod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogConfigLibpod
impl PartialEq for LogConfigLibpod
Source§impl Serialize for LogConfigLibpod
impl Serialize for LogConfigLibpod
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LogConfigLibpod
Auto Trait Implementations§
impl Freeze for LogConfigLibpod
impl RefUnwindSafe for LogConfigLibpod
impl Send for LogConfigLibpod
impl Sync for LogConfigLibpod
impl Unpin for LogConfigLibpod
impl UnwindSafe for LogConfigLibpod
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