pub struct StockLevel {
pub sku: String,
pub location_id: String,
pub quantity: f64,
pub reserved: f64,
pub lot_number: Option<String>,
pub expiry_date: Option<String>,
pub updated_at: String,
}Fields§
§sku: String§location_id: String§quantity: f64§reserved: f64§lot_number: Option<String>§expiry_date: Option<String>§updated_at: StringTrait Implementations§
Source§impl Clone for StockLevel
impl Clone for StockLevel
Source§fn clone(&self) -> StockLevel
fn clone(&self) -> StockLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StockLevel
impl Debug for StockLevel
Source§impl<'de> Deserialize<'de> for StockLevel
impl<'de> Deserialize<'de> for StockLevel
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
Auto Trait Implementations§
impl Freeze for StockLevel
impl RefUnwindSafe for StockLevel
impl Send for StockLevel
impl Sync for StockLevel
impl Unpin for StockLevel
impl UnsafeUnpin for StockLevel
impl UnwindSafe for StockLevel
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