pub struct GeTransactionSchema {
pub id: String,
pub code: String,
pub quantity: i32,
pub price: i32,
pub total_price: i32,
}Fields§
§id: StringOrder id.
code: StringItem code.
quantity: i32Item quantity.
price: i32Item price.
total_price: i32Total price of the transaction.
Implementations§
Trait Implementations§
Source§impl Clone for GeTransactionSchema
impl Clone for GeTransactionSchema
Source§fn clone(&self) -> GeTransactionSchema
fn clone(&self) -> GeTransactionSchema
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 GeTransactionSchema
impl Debug for GeTransactionSchema
Source§impl Default for GeTransactionSchema
impl Default for GeTransactionSchema
Source§fn default() -> GeTransactionSchema
fn default() -> GeTransactionSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeTransactionSchema
impl<'de> Deserialize<'de> for GeTransactionSchema
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
Source§impl PartialEq for GeTransactionSchema
impl PartialEq for GeTransactionSchema
Source§impl Serialize for GeTransactionSchema
impl Serialize for GeTransactionSchema
impl StructuralPartialEq for GeTransactionSchema
Auto Trait Implementations§
impl Freeze for GeTransactionSchema
impl RefUnwindSafe for GeTransactionSchema
impl Send for GeTransactionSchema
impl Sync for GeTransactionSchema
impl Unpin for GeTransactionSchema
impl UnwindSafe for GeTransactionSchema
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