pub struct HistoryTransaction {
pub id: u64,
pub item_id: u64,
pub price: u64,
pub quantity: u64,
pub created: DateTime<Utc>,
pub purchased: DateTime<Utc>,
}
Fields§
§id: u64
§item_id: u64
§price: u64
§quantity: u64
§created: DateTime<Utc>
§purchased: DateTime<Utc>
Trait Implementations§
Source§impl Clone for HistoryTransaction
impl Clone for HistoryTransaction
Source§fn clone(&self) -> HistoryTransaction
fn clone(&self) -> HistoryTransaction
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 HistoryTransaction
impl Debug for HistoryTransaction
Source§impl<'de> Deserialize<'de> for HistoryTransaction
impl<'de> Deserialize<'de> for HistoryTransaction
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 HistoryTransaction
impl RefUnwindSafe for HistoryTransaction
impl Send for HistoryTransaction
impl Sync for HistoryTransaction
impl Unpin for HistoryTransaction
impl UnwindSafe for HistoryTransaction
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