pub struct SystemLogConfig {
pub path: PathBuf,
pub format: SystemLogFormat,
pub truncate_on_startup: bool,
}Fields§
§path: PathBufA relative path is the working directory’s.
format: SystemLogFormat§truncate_on_startup: boolReset only on a new master or standalone launch, never in workers.
Implementations§
Trait Implementations§
Source§impl Clone for SystemLogConfig
impl Clone for SystemLogConfig
Source§impl Debug for SystemLogConfig
impl Debug for SystemLogConfig
Source§impl<'de> Deserialize<'de> for SystemLogConfig
impl<'de> Deserialize<'de> for SystemLogConfig
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 Forget for SystemLogConfig
impl Freeze for SystemLogConfig
impl Move for SystemLogConfig
impl RefUnwindSafe for SystemLogConfig
impl Send for SystemLogConfig
impl Sync for SystemLogConfig
impl Unpin for SystemLogConfig
impl UnsafeUnpin for SystemLogConfig
impl UnwindSafe for SystemLogConfig
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