pub struct NpcMerchantTransactionSchema {
    pub cooldown: Box<CooldownSchema>,
    pub transaction: Box<NpcItemTransactionSchema>,
    pub character: Box<CharacterSchema>,
}Fields§
§cooldown: Box<CooldownSchema>Cooldown details.
transaction: Box<NpcItemTransactionSchema>Transaction details.
character: Box<CharacterSchema>Character details.
Implementations§
Source§impl NpcMerchantTransactionSchema
 
impl NpcMerchantTransactionSchema
pub fn new( cooldown: CooldownSchema, transaction: NpcItemTransactionSchema, character: CharacterSchema, ) -> NpcMerchantTransactionSchema
Trait Implementations§
Source§impl Clone for NpcMerchantTransactionSchema
 
impl Clone for NpcMerchantTransactionSchema
Source§fn clone(&self) -> NpcMerchantTransactionSchema
 
fn clone(&self) -> NpcMerchantTransactionSchema
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 NpcMerchantTransactionSchema
 
impl Debug for NpcMerchantTransactionSchema
Source§impl Default for NpcMerchantTransactionSchema
 
impl Default for NpcMerchantTransactionSchema
Source§fn default() -> NpcMerchantTransactionSchema
 
fn default() -> NpcMerchantTransactionSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NpcMerchantTransactionSchema
 
impl<'de> Deserialize<'de> for NpcMerchantTransactionSchema
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 GetCharacter for NpcMerchantTransactionSchema
 
impl GetCharacter for NpcMerchantTransactionSchema
fn get_character(&self) -> &CharacterSchema
Source§impl GetCooldown for NpcMerchantTransactionSchema
 
impl GetCooldown for NpcMerchantTransactionSchema
fn get_cooldown(&self) -> &CooldownSchema
Source§impl PartialEq for NpcMerchantTransactionSchema
 
impl PartialEq for NpcMerchantTransactionSchema
Source§fn eq(&self, other: &NpcMerchantTransactionSchema) -> bool
 
fn eq(&self, other: &NpcMerchantTransactionSchema) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NpcMerchantTransactionSchema
Auto Trait Implementations§
impl Freeze for NpcMerchantTransactionSchema
impl RefUnwindSafe for NpcMerchantTransactionSchema
impl Send for NpcMerchantTransactionSchema
impl Sync for NpcMerchantTransactionSchema
impl Unpin for NpcMerchantTransactionSchema
impl UnwindSafe for NpcMerchantTransactionSchema
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