Struct podman_rest_client::models::LogConfigLibpod  
source · pub struct LogConfigLibpod {
    pub driver: Option<String>,
    pub options: Option<HashMap<String, String>>,
    pub path: Option<String>,
    pub size: Option<i64>,
}Expand description
LogConfigLibpod : 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.
Implementations§
source§impl LogConfigLibpod
 
impl LogConfigLibpod
sourcepub fn new() -> LogConfigLibpod
 
pub fn new() -> LogConfigLibpod
LogConfig describes the logging characteristics for a container
Trait Implementations§
source§impl Clone for LogConfigLibpod
 
impl Clone for LogConfigLibpod
source§fn clone(&self) -> LogConfigLibpod
 
fn clone(&self) -> LogConfigLibpod
Returns a copy 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 LogConfigLibpod
 
impl Debug for LogConfigLibpod
source§impl Default for LogConfigLibpod
 
impl Default for LogConfigLibpod
source§fn default() -> LogConfigLibpod
 
fn default() -> LogConfigLibpod
Returns the “default value” for a type. Read more
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§fn eq(&self, other: &LogConfigLibpod) -> bool
 
fn eq(&self, other: &LogConfigLibpod) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)