pub struct LinuxBlockIoDevice {
pub major: Option<i64>,
pub minor: Option<i64>,
}
Expand description
linuxBlockIODevice holds major:minor format supported in blkio cgroup
Fields§
§major: Option<i64>
Major is the device’s major number.
minor: Option<i64>
Minor is the device’s minor number.
Trait Implementations§
Source§impl Clone for LinuxBlockIoDevice
impl Clone for LinuxBlockIoDevice
Source§fn clone(&self) -> LinuxBlockIoDevice
fn clone(&self) -> LinuxBlockIoDevice
Returns a copy 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 LinuxBlockIoDevice
impl Debug for LinuxBlockIoDevice
Source§impl<'de> Deserialize<'de> for LinuxBlockIoDevice
impl<'de> Deserialize<'de> for LinuxBlockIoDevice
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxBlockIoDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxBlockIoDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LinuxBlockIoDevice
impl PartialEq for LinuxBlockIoDevice
Source§impl Serialize for LinuxBlockIoDevice
impl Serialize for LinuxBlockIoDevice
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LinuxBlockIoDevice
Auto Trait Implementations§
impl Freeze for LinuxBlockIoDevice
impl RefUnwindSafe for LinuxBlockIoDevice
impl Send for LinuxBlockIoDevice
impl Sync for LinuxBlockIoDevice
impl Unpin for LinuxBlockIoDevice
impl UnwindSafe for LinuxBlockIoDevice
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