Struct trace4rs_config::config::Policy
source · pub struct Policy {
pub maximum_file_size: String,
pub max_size_roll_backups: u32,
pub pattern: Option<String>,
}
Expand description
A Policy specifies how a RollingFile
appender should be rolled.
Fields§
§maximum_file_size: String
§max_size_roll_backups: u32
§pattern: Option<String>
Implementations§
Trait Implementations§
source§impl PartialEq<Policy> for Policy
impl PartialEq<Policy> for Policy
impl Eq for Policy
impl StructuralEq for Policy
impl StructuralPartialEq for Policy
Auto Trait Implementations§
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnwindSafe for Policy
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