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