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