pub struct LogRotationPlan {
pub decisions: Vec<LogFileDecision>,
pub managed_total_bytes: u64,
pub unmanaged_total_bytes: u64,
}Expand description
The result of planning a directory.
Fields§
§decisions: Vec<LogFileDecision>§managed_total_bytes: u64Total bytes of managed logs (active + rotated).
unmanaged_total_bytes: u64Total bytes of unmanaged files seen (reported, untouched).
Implementations§
Trait Implementations§
Source§impl Clone for LogRotationPlan
impl Clone for LogRotationPlan
Source§impl Debug for LogRotationPlan
impl Debug for LogRotationPlan
Source§impl<'de> Deserialize<'de> for LogRotationPlan
impl<'de> Deserialize<'de> for LogRotationPlan
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
impl Eq for LogRotationPlan
Source§impl PartialEq for LogRotationPlan
impl PartialEq for LogRotationPlan
Source§impl Serialize for LogRotationPlan
impl Serialize for LogRotationPlan
impl StructuralPartialEq for LogRotationPlan
Auto Trait Implementations§
impl Freeze for LogRotationPlan
impl RefUnwindSafe for LogRotationPlan
impl Send for LogRotationPlan
impl Sync for LogRotationPlan
impl Unpin for LogRotationPlan
impl UnsafeUnpin for LogRotationPlan
impl UnwindSafe for LogRotationPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.