pub struct LogConfigBuilder { /* private fields */ }
Expand description
Builder for LogConfig
.
Implementations§
Source§impl LogConfigBuilder
impl LogConfigBuilder
pub fn max_files(&mut self, value: Option<i64>) -> &mut Self
pub fn max_file_size_mb(&mut self, value: Option<i64>) -> &mut Self
Sourcepub fn enabled(&mut self, value: Option<bool>) -> &mut Self
pub fn enabled(&mut self, value: Option<bool>) -> &mut Self
COMPAT(1.6.0): Enabled had to be swapped for Disabled to fix a backwards compatibility bug when restoring pre-1.5.4 jobs. Remove in 1.6.0
pub fn disabled(&mut self, value: Option<bool>) -> &mut Self
Trait Implementations§
Source§impl Clone for LogConfigBuilder
impl Clone for LogConfigBuilder
Source§fn clone(&self) -> LogConfigBuilder
fn clone(&self) -> LogConfigBuilder
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 moreAuto Trait Implementations§
impl Freeze for LogConfigBuilder
impl RefUnwindSafe for LogConfigBuilder
impl Send for LogConfigBuilder
impl Sync for LogConfigBuilder
impl Unpin for LogConfigBuilder
impl UnwindSafe for LogConfigBuilder
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