pub struct SupplyQuantity {
pub supply_type: EntityType,
pub quantity: f32,
}Expand description
6.2.86 Supply Quantity record
Fields§
§supply_type: EntityType§quantity: f32Implementations§
Source§impl SupplyQuantity
impl SupplyQuantity
pub fn with_supply_type(self, supply_type: EntityType) -> Self
pub fn with_quantity(self, quantity: f32) -> Self
Trait Implementations§
Source§impl Clone for SupplyQuantity
impl Clone for SupplyQuantity
Source§fn clone(&self) -> SupplyQuantity
fn clone(&self) -> SupplyQuantity
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 SupplyQuantity
impl Debug for SupplyQuantity
Source§impl Default for SupplyQuantity
impl Default for SupplyQuantity
Source§fn default() -> SupplyQuantity
fn default() -> SupplyQuantity
Returns the “default value” for a type. Read more
Source§impl PartialEq for SupplyQuantity
impl PartialEq for SupplyQuantity
impl StructuralPartialEq for SupplyQuantity
Auto Trait Implementations§
impl Freeze for SupplyQuantity
impl RefUnwindSafe for SupplyQuantity
impl Send for SupplyQuantity
impl Sync for SupplyQuantity
impl Unpin for SupplyQuantity
impl UnwindSafe for SupplyQuantity
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