pub struct LotLocation {
pub lot_id: Uuid,
pub location_id: i32,
pub quantity: Decimal,
pub updated_at: DateTime<Utc>,
}Expand description
Inventory of a lot at a specific location
Fields§
§lot_id: Uuid§location_id: i32§quantity: Decimal§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for LotLocation
impl Clone for LotLocation
Source§fn clone(&self) -> LotLocation
fn clone(&self) -> LotLocation
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 LotLocation
impl Debug for LotLocation
Source§impl<'de> Deserialize<'de> for LotLocation
impl<'de> Deserialize<'de> for LotLocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LotLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LotLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LotLocation
Source§impl PartialEq for LotLocation
impl PartialEq for LotLocation
Source§impl Serialize for LotLocation
impl Serialize for LotLocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LotLocation
Auto Trait Implementations§
impl Freeze for LotLocation
impl RefUnwindSafe for LotLocation
impl Send for LotLocation
impl Sync for LotLocation
impl Unpin for LotLocation
impl UnsafeUnpin for LotLocation
impl UnwindSafe for LotLocation
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