Struct oci_spec::runtime::LinuxThrottleDevice
source · pub struct LinuxThrottleDevice { /* private fields */ }
Expand description
LinuxThrottleDevice struct holds a major:minor rate_per_second
pair.
Implementations§
Trait Implementations§
source§impl Clone for LinuxThrottleDevice
impl Clone for LinuxThrottleDevice
source§fn clone(&self) -> LinuxThrottleDevice
fn clone(&self) -> LinuxThrottleDevice
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 LinuxThrottleDevice
impl Debug for LinuxThrottleDevice
source§impl Default for LinuxThrottleDevice
impl Default for LinuxThrottleDevice
source§fn default() -> LinuxThrottleDevice
fn default() -> LinuxThrottleDevice
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxThrottleDevice
impl<'de> Deserialize<'de> for LinuxThrottleDevice
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 LinuxThrottleDevice
impl PartialEq for LinuxThrottleDevice
source§fn eq(&self, other: &LinuxThrottleDevice) -> bool
fn eq(&self, other: &LinuxThrottleDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxThrottleDevice
impl Serialize for LinuxThrottleDevice
impl Copy for LinuxThrottleDevice
impl Eq for LinuxThrottleDevice
impl StructuralPartialEq for LinuxThrottleDevice
Auto Trait Implementations§
impl Freeze for LinuxThrottleDevice
impl RefUnwindSafe for LinuxThrottleDevice
impl Send for LinuxThrottleDevice
impl Sync for LinuxThrottleDevice
impl Unpin for LinuxThrottleDevice
impl UnwindSafe for LinuxThrottleDevice
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)