#[non_exhaustive]pub struct CapacityQuantityInterval {
pub type: String,
pub min_value: Option<i64>,
pub max_value: Option<i64>,
}Expand description
Deprecated: Use Vehicle.LoadLimit.Interval instead.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: String§min_value: Option<i64>§max_value: Option<i64>Implementations§
Source§impl CapacityQuantityInterval
impl CapacityQuantityInterval
Trait Implementations§
Source§impl Clone for CapacityQuantityInterval
impl Clone for CapacityQuantityInterval
Source§fn clone(&self) -> CapacityQuantityInterval
fn clone(&self) -> CapacityQuantityInterval
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 CapacityQuantityInterval
impl Debug for CapacityQuantityInterval
Source§impl Default for CapacityQuantityInterval
impl Default for CapacityQuantityInterval
Source§fn default() -> CapacityQuantityInterval
fn default() -> CapacityQuantityInterval
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapacityQuantityIntervalwhere
CapacityQuantityInterval: Default,
impl<'de> Deserialize<'de> for CapacityQuantityIntervalwhere
CapacityQuantityInterval: Default,
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 Message for CapacityQuantityInterval
impl Message for CapacityQuantityInterval
Source§impl PartialEq for CapacityQuantityInterval
impl PartialEq for CapacityQuantityInterval
Source§impl Serialize for CapacityQuantityInterval
impl Serialize for CapacityQuantityInterval
impl StructuralPartialEq for CapacityQuantityInterval
Auto Trait Implementations§
impl Freeze for CapacityQuantityInterval
impl RefUnwindSafe for CapacityQuantityInterval
impl Send for CapacityQuantityInterval
impl Sync for CapacityQuantityInterval
impl Unpin for CapacityQuantityInterval
impl UnwindSafe for CapacityQuantityInterval
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