#[non_exhaustive]pub struct CapacityQuantityInterval {
pub type: String,
pub min_value: Option<i64>,
pub max_value: Option<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
ยงmin_value: Option<i64>๐Deprecated
ยงmax_value: Option<i64>๐Deprecated
Implementationsยง
Sourceยงimpl CapacityQuantityInterval
impl CapacityQuantityInterval
pub fn new() -> Self
Sourcepub fn set_min_value<T>(self, v: T) -> Self
pub fn set_min_value<T>(self, v: T) -> Self
Sets the value of min_value.
Sourcepub fn set_or_clear_min_value<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_min_value<T>(self, v: Option<T>) -> Self
Sets or clears the value of min_value.
Sourcepub fn set_max_value<T>(self, v: T) -> Self
pub fn set_max_value<T>(self, v: T) -> Self
Sets the value of max_value.
Trait Implementationsยง
Sourceยงimpl Clone for CapacityQuantityInterval
impl Clone for CapacityQuantityInterval
Sourceยงfn clone(&self) -> CapacityQuantityInterval
fn clone(&self) -> CapacityQuantityInterval
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 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 Message for CapacityQuantityInterval
impl Message 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