pub struct ProjectBlkioWeightDevice { /* private fields */ }Expand description
One effective block-I/O device-weight item.
Implementations§
Source§impl ProjectBlkioWeightDevice
impl ProjectBlkioWeightDevice
Sourcepub const fn form(&self) -> ProjectBlkioWeightDeviceForm
pub const fn form(&self) -> ProjectBlkioWeightDeviceForm
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 weight(&self) -> Option<&ProjectValue<BlkioScalar>>
pub const fn weight(&self) -> Option<&ProjectValue<BlkioScalar>>
Returns the effective raw integer-or-string weight 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 ProjectBlkioWeightDevice
impl Clone for ProjectBlkioWeightDevice
Source§fn clone(&self) -> ProjectBlkioWeightDevice
fn clone(&self) -> ProjectBlkioWeightDevice
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 ProjectBlkioWeightDevice
impl Debug for ProjectBlkioWeightDevice
impl Eq for ProjectBlkioWeightDevice
Source§impl PartialEq for ProjectBlkioWeightDevice
impl PartialEq for ProjectBlkioWeightDevice
impl StructuralPartialEq for ProjectBlkioWeightDevice
Auto Trait Implementations§
impl Freeze for ProjectBlkioWeightDevice
impl RefUnwindSafe for ProjectBlkioWeightDevice
impl Send for ProjectBlkioWeightDevice
impl Sync for ProjectBlkioWeightDevice
impl Unpin for ProjectBlkioWeightDevice
impl UnsafeUnpin for ProjectBlkioWeightDevice
impl UnwindSafe for ProjectBlkioWeightDevice
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