#[non_exhaustive]pub struct CapacityQuantity {
pub type: String,
pub value: i64,
/* private fields */
}๐Deprecated
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๐Deprecated
ยงvalue: i64๐Deprecated
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for CapacityQuantity
impl Clone for CapacityQuantity
Sourceยงfn clone(&self) -> CapacityQuantity
fn clone(&self) -> CapacityQuantity
Returns a duplicate 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 CapacityQuantity
impl Debug for CapacityQuantity
Sourceยงimpl Default for CapacityQuantity
impl Default for CapacityQuantity
Sourceยงfn default() -> CapacityQuantity
fn default() -> CapacityQuantity
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for CapacityQuantity
impl Message for CapacityQuantity
Sourceยงimpl PartialEq for CapacityQuantity
impl PartialEq for CapacityQuantity
impl StructuralPartialEq for CapacityQuantity
Auto Trait Implementationsยง
impl Freeze for CapacityQuantity
impl RefUnwindSafe for CapacityQuantity
impl Send for CapacityQuantity
impl Sync for CapacityQuantity
impl Unpin for CapacityQuantity
impl UnwindSafe for CapacityQuantity
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