pub struct ServiceBlkioConfig {
pub device_read_bps: Vec<BlkioLimit>,
pub device_read_iops: Vec<BlkioLimit>,
pub device_write_bps: Vec<BlkioLimit>,
pub device_write_iops: Vec<BlkioLimit>,
pub weight: Option<IntOrStr>,
pub weight_device: Vec<BlkioWeight>,
}
Fields§
§device_read_bps: Vec<BlkioLimit>
§device_read_iops: Vec<BlkioLimit>
§device_write_bps: Vec<BlkioLimit>
§device_write_iops: Vec<BlkioLimit>
§weight: Option<IntOrStr>
§weight_device: Vec<BlkioWeight>
Trait Implementations§
Source§impl Clone for ServiceBlkioConfig
impl Clone for ServiceBlkioConfig
Source§fn clone(&self) -> ServiceBlkioConfig
fn clone(&self) -> ServiceBlkioConfig
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 ServiceBlkioConfig
impl Debug for ServiceBlkioConfig
Source§impl<'de> Deserialize<'de> for ServiceBlkioConfig
impl<'de> Deserialize<'de> for ServiceBlkioConfig
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 ServiceBlkioConfig
impl PartialEq for ServiceBlkioConfig
Source§impl PartialOrd for ServiceBlkioConfig
impl PartialOrd for ServiceBlkioConfig
Source§impl Serialize for ServiceBlkioConfig
impl Serialize for ServiceBlkioConfig
impl StructuralPartialEq for ServiceBlkioConfig
Auto Trait Implementations§
impl Freeze for ServiceBlkioConfig
impl RefUnwindSafe for ServiceBlkioConfig
impl Send for ServiceBlkioConfig
impl Sync for ServiceBlkioConfig
impl Unpin for ServiceBlkioConfig
impl UnwindSafe for ServiceBlkioConfig
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)