pub struct RecordLimits {
pub max_total: u64,
pub max_count: u32,
pub max_age: u64,
pub min_free: u64,
}Expand description
The limits on records, from [records] in the config.
Fields§
§max_total: u64The most disk all records may take together.
max_count: u32The most records kept.
max_age: u64How long a record is kept, in seconds.
min_free: u64The disk Docker must keep free: no record is made that would leave less.
Implementations§
Trait Implementations§
Source§impl Clone for RecordLimits
impl Clone for RecordLimits
Source§impl Debug for RecordLimits
impl Debug for RecordLimits
Source§impl Default for RecordLimits
impl Default for RecordLimits
Source§impl<'de> Deserialize<'de> for RecordLimits
impl<'de> Deserialize<'de> for RecordLimits
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 RecordLimits
Source§impl PartialEq for RecordLimits
impl PartialEq for RecordLimits
Source§impl Serialize for RecordLimits
impl Serialize for RecordLimits
impl StructuralPartialEq for RecordLimits
Auto Trait Implementations§
impl Freeze for RecordLimits
impl RefUnwindSafe for RecordLimits
impl Send for RecordLimits
impl Sync for RecordLimits
impl Unpin for RecordLimits
impl UnsafeUnpin for RecordLimits
impl UnwindSafe for RecordLimits
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§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.