pub struct NetworkDrivePresetWrite {
pub min: Option<f64>,
pub max: Option<f64>,
}Fields§
§min: Option<f64>Запись IOPS
max: Option<f64>Запись IOPS
Implementations§
Source§impl NetworkDrivePresetWrite
impl NetworkDrivePresetWrite
pub fn new() -> NetworkDrivePresetWrite
Trait Implementations§
Source§impl Clone for NetworkDrivePresetWrite
impl Clone for NetworkDrivePresetWrite
Source§fn clone(&self) -> NetworkDrivePresetWrite
fn clone(&self) -> NetworkDrivePresetWrite
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 NetworkDrivePresetWrite
impl Debug for NetworkDrivePresetWrite
Source§impl Default for NetworkDrivePresetWrite
impl Default for NetworkDrivePresetWrite
Source§fn default() -> NetworkDrivePresetWrite
fn default() -> NetworkDrivePresetWrite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkDrivePresetWrite
impl<'de> Deserialize<'de> for NetworkDrivePresetWrite
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 NetworkDrivePresetWrite
impl PartialEq for NetworkDrivePresetWrite
Source§fn eq(&self, other: &NetworkDrivePresetWrite) -> bool
fn eq(&self, other: &NetworkDrivePresetWrite) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NetworkDrivePresetWrite
impl Serialize for NetworkDrivePresetWrite
impl StructuralPartialEq for NetworkDrivePresetWrite
Auto Trait Implementations§
impl Freeze for NetworkDrivePresetWrite
impl RefUnwindSafe for NetworkDrivePresetWrite
impl Send for NetworkDrivePresetWrite
impl Sync for NetworkDrivePresetWrite
impl Unpin for NetworkDrivePresetWrite
impl UnsafeUnpin for NetworkDrivePresetWrite
impl UnwindSafe for NetworkDrivePresetWrite
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