pub struct BlockIoDeviceWeight {
pub major: i64,
pub minor: i64,
pub leaf_weight: Option<i64>,
pub weight: Option<i64>,
}
Fields§
§major: i64
§minor: i64
§leaf_weight: Option<i64>
§weight: Option<i64>
Trait Implementations§
Source§impl Clone for BlockIoDeviceWeight
impl Clone for BlockIoDeviceWeight
Source§fn clone(&self) -> BlockIoDeviceWeight
fn clone(&self) -> BlockIoDeviceWeight
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockIoDeviceWeight
impl Debug for BlockIoDeviceWeight
Source§impl Default for BlockIoDeviceWeight
impl Default for BlockIoDeviceWeight
Source§fn default() -> BlockIoDeviceWeight
fn default() -> BlockIoDeviceWeight
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockIoDeviceWeight
impl<'de> Deserialize<'de> for BlockIoDeviceWeight
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
Source§impl PartialEq for BlockIoDeviceWeight
impl PartialEq for BlockIoDeviceWeight
Source§impl Serialize for BlockIoDeviceWeight
impl Serialize for BlockIoDeviceWeight
impl StructuralPartialEq for BlockIoDeviceWeight
Auto Trait Implementations§
impl Freeze for BlockIoDeviceWeight
impl RefUnwindSafe for BlockIoDeviceWeight
impl Send for BlockIoDeviceWeight
impl Sync for BlockIoDeviceWeight
impl Unpin for BlockIoDeviceWeight
impl UnwindSafe for BlockIoDeviceWeight
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