pub struct BlkioDeviceRate { /* private fields */ }Expand description
One ordered block-I/O device rate item.
Implementations§
Source§impl BlkioDeviceRate
impl BlkioDeviceRate
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete item span.
Sourcepub const fn form(&self) -> BlkioDeviceRateForm
pub const fn form(&self) -> BlkioDeviceRateForm
Returns whether this entry was a mapping or retained unmodeled sequence item.
Sourcepub const fn path(&self) -> Option<&Located<String>>
pub const fn path(&self) -> Option<&Located<String>>
Returns the raw device path when its YAML-string form was valid.
Sourcepub const fn rate(&self) -> Option<&Located<BlkioScalar>>
pub const fn rate(&self) -> Option<&Located<BlkioScalar>>
Returns the raw integer-or-string rate when its scalar form was valid.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained extensions on this entry.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns retained unknown or malformed members on this entry.
Trait Implementations§
Source§impl Clone for BlkioDeviceRate
impl Clone for BlkioDeviceRate
Source§fn clone(&self) -> BlkioDeviceRate
fn clone(&self) -> BlkioDeviceRate
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 BlkioDeviceRate
impl Debug for BlkioDeviceRate
impl Eq for BlkioDeviceRate
Source§impl PartialEq for BlkioDeviceRate
impl PartialEq for BlkioDeviceRate
impl StructuralPartialEq for BlkioDeviceRate
Auto Trait Implementations§
impl Freeze for BlkioDeviceRate
impl RefUnwindSafe for BlkioDeviceRate
impl Send for BlkioDeviceRate
impl Sync for BlkioDeviceRate
impl Unpin for BlkioDeviceRate
impl UnsafeUnpin for BlkioDeviceRate
impl UnwindSafe for BlkioDeviceRate
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