pub struct ProjectBlkioDeviceRate { /* private fields */ }Expand description
One effective block-I/O rate item.
Implementations§
Source§impl ProjectBlkioDeviceRate
impl ProjectBlkioDeviceRate
Sourcepub const fn form(&self) -> ProjectBlkioDeviceRateForm
pub const fn form(&self) -> ProjectBlkioDeviceRateForm
Returns whether this effective entry is a mapping or retained unmodeled sequence item.
Sourcepub const fn path(&self) -> Option<&ProjectValue<String>>
pub const fn path(&self) -> Option<&ProjectValue<String>>
Returns the effective raw device path and its provenance.
Sourcepub const fn rate(&self) -> Option<&ProjectValue<BlkioScalar>>
pub const fn rate(&self) -> Option<&ProjectValue<BlkioScalar>>
Returns the effective raw integer-or-string rate and its provenance.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns extensions, unknown fields, and malformed members retained as evidence.
Trait Implementations§
Source§impl Clone for ProjectBlkioDeviceRate
impl Clone for ProjectBlkioDeviceRate
Source§fn clone(&self) -> ProjectBlkioDeviceRate
fn clone(&self) -> ProjectBlkioDeviceRate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectBlkioDeviceRate
impl Debug for ProjectBlkioDeviceRate
impl Eq for ProjectBlkioDeviceRate
Source§impl PartialEq for ProjectBlkioDeviceRate
impl PartialEq for ProjectBlkioDeviceRate
impl StructuralPartialEq for ProjectBlkioDeviceRate
Auto Trait Implementations§
impl Freeze for ProjectBlkioDeviceRate
impl RefUnwindSafe for ProjectBlkioDeviceRate
impl Send for ProjectBlkioDeviceRate
impl Sync for ProjectBlkioDeviceRate
impl Unpin for ProjectBlkioDeviceRate
impl UnsafeUnpin for ProjectBlkioDeviceRate
impl UnwindSafe for ProjectBlkioDeviceRate
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