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