pub struct DirectoryQuota {
pub absolute: u64,
pub scale: u32,
pub enforce: bool,
}Expand description
{State,Cache,Logs}DirectoryQuota=. Encoded as (tus); enforce travels as “yes”/“no”.
Fields§
§absolute: u64Bytes, or u64::MAX if scale is used.
scale: u32Fraction of the backing file system scaled to u32::MAX, or u32::MAX if unset.
enforce: boolTrait Implementations§
Source§impl Clone for DirectoryQuota
impl Clone for DirectoryQuota
impl Copy for DirectoryQuota
Source§impl Debug for DirectoryQuota
impl Debug for DirectoryQuota
Source§impl From<DirectoryQuota> for Value<'_>
impl From<DirectoryQuota> for Value<'_>
Source§fn from(q: DirectoryQuota) -> Self
fn from(q: DirectoryQuota) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DirectoryQuota
impl RefUnwindSafe for DirectoryQuota
impl Send for DirectoryQuota
impl Sync for DirectoryQuota
impl Unpin for DirectoryQuota
impl UnsafeUnpin for DirectoryQuota
impl UnwindSafe for DirectoryQuota
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