pub struct DeleteItemSchema {
    pub cooldown: Box<CooldownSchema>,
    pub item: Box<SimpleItemSchema>,
    pub character: Box<CharacterSchema>,
}Fields§
§cooldown: Box<CooldownSchema>Cooldown details.
item: Box<SimpleItemSchema>Item details.
character: Box<CharacterSchema>Player details.
Implementations§
Source§impl DeleteItemSchema
 
impl DeleteItemSchema
pub fn new( cooldown: CooldownSchema, item: SimpleItemSchema, character: CharacterSchema, ) -> DeleteItemSchema
Trait Implementations§
Source§impl Clone for DeleteItemSchema
 
impl Clone for DeleteItemSchema
Source§fn clone(&self) -> DeleteItemSchema
 
fn clone(&self) -> DeleteItemSchema
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 DeleteItemSchema
 
impl Debug for DeleteItemSchema
Source§impl Default for DeleteItemSchema
 
impl Default for DeleteItemSchema
Source§fn default() -> DeleteItemSchema
 
fn default() -> DeleteItemSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteItemSchema
 
impl<'de> Deserialize<'de> for DeleteItemSchema
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 DeleteItemSchema
 
impl GetCharacter for DeleteItemSchema
fn get_character(&self) -> &CharacterSchema
Source§impl GetCooldown for DeleteItemSchema
 
impl GetCooldown for DeleteItemSchema
fn get_cooldown(&self) -> &CooldownSchema
Source§impl PartialEq for DeleteItemSchema
 
impl PartialEq for DeleteItemSchema
Source§impl Serialize for DeleteItemSchema
 
impl Serialize for DeleteItemSchema
impl StructuralPartialEq for DeleteItemSchema
Auto Trait Implementations§
impl Freeze for DeleteItemSchema
impl RefUnwindSafe for DeleteItemSchema
impl Send for DeleteItemSchema
impl Sync for DeleteItemSchema
impl Unpin for DeleteItemSchema
impl UnwindSafe for DeleteItemSchema
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