pub struct Roll {
pub limit: Option<usize>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub rotation: Option<Rotation>,
}
Expand description
Config for tracing_appender::rolling::RollingFileAppender
.
Fields§
§limit: Option<usize>
§prefix: Option<String>
§suffix: Option<String>
§rotation: Option<Rotation>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Roll
impl<'de> Deserialize<'de> for Roll
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 Ord for Roll
impl Ord for Roll
Source§impl PartialOrd for Roll
impl PartialOrd for Roll
impl Eq for Roll
impl StructuralPartialEq for Roll
Auto Trait Implementations§
impl Freeze for Roll
impl RefUnwindSafe for Roll
impl Send for Roll
impl Sync for Roll
impl Unpin for Roll
impl UnwindSafe for Roll
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