pub struct StockMovement {
pub id: String,
pub movement_type: String,
pub sku: String,
pub quantity: f64,
pub from_location: Option<String>,
pub to_location: Option<String>,
pub reference: String,
pub actor: String,
pub lot_number: Option<String>,
pub timestamp: String,
}Fields§
§id: String§movement_type: String§sku: String§quantity: f64§from_location: Option<String>§to_location: Option<String>§reference: String§actor: String§lot_number: Option<String>§timestamp: StringTrait Implementations§
Source§impl Clone for StockMovement
impl Clone for StockMovement
Source§fn clone(&self) -> StockMovement
fn clone(&self) -> StockMovement
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 StockMovement
impl Debug for StockMovement
Source§impl<'de> Deserialize<'de> for StockMovement
impl<'de> Deserialize<'de> for StockMovement
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 StockMovement
impl RefUnwindSafe for StockMovement
impl Send for StockMovement
impl Sync for StockMovement
impl Unpin for StockMovement
impl UnsafeUnpin for StockMovement
impl UnwindSafe for StockMovement
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