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<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 LogConfigLibpod
impl PartialEq for LogConfigLibpod
Source§impl Serialize for LogConfigLibpod
impl Serialize for LogConfigLibpod
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