pub struct ContainerSpecification {
pub dimensions: Box<Dimensions>,
pub weight: Box<Weight>,
}Expand description
ContainerSpecification : Container specification for checking the service rate.
Fields§
§dimensions: Box<Dimensions>§weight: Box<Weight>Implementations§
Source§impl ContainerSpecification
impl ContainerSpecification
Sourcepub fn new(dimensions: Dimensions, weight: Weight) -> ContainerSpecification
pub fn new(dimensions: Dimensions, weight: Weight) -> ContainerSpecification
Container specification for checking the service rate.
Trait Implementations§
Source§impl Clone for ContainerSpecification
impl Clone for ContainerSpecification
Source§fn clone(&self) -> ContainerSpecification
fn clone(&self) -> ContainerSpecification
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 ContainerSpecification
impl Debug for ContainerSpecification
Source§impl Default for ContainerSpecification
impl Default for ContainerSpecification
Source§fn default() -> ContainerSpecification
fn default() -> ContainerSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerSpecification
impl<'de> Deserialize<'de> for ContainerSpecification
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 ContainerSpecification
impl PartialEq for ContainerSpecification
Source§impl Serialize for ContainerSpecification
impl Serialize for ContainerSpecification
impl StructuralPartialEq for ContainerSpecification
Auto Trait Implementations§
impl Freeze for ContainerSpecification
impl RefUnwindSafe for ContainerSpecification
impl Send for ContainerSpecification
impl Sync for ContainerSpecification
impl Unpin for ContainerSpecification
impl UnwindSafe for ContainerSpecification
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