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