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<ThrottleDevice> for ThrottleDevice
impl PartialEq<ThrottleDevice> for ThrottleDevice
source§fn eq(&self, other: &ThrottleDevice) -> bool
fn eq(&self, other: &ThrottleDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.