pub struct ConsumableDetails {
pub _type: ConsumableType,
pub description: Option<String>,
pub duration_ms: Option<u64>,
pub unlock_type: Option<UnlockType>,
pub color_id: Option<ColorId>,
pub recipe_id: Option<RecipeId>,
pub extra_recipe_ids: Option<Vec<RecipeId>>,
pub guild_upgrade_id: Option<GuildUpgradeId>,
pub apply_count: Option<u8>,
pub name: Option<String>,
pub icon: Option<String>,
pub skins: Option<Vec<u64>>,
}Fields§
§_type: ConsumableType§description: Option<String>§duration_ms: Option<u64>§unlock_type: Option<UnlockType>§color_id: Option<ColorId>§recipe_id: Option<RecipeId>§extra_recipe_ids: Option<Vec<RecipeId>>§guild_upgrade_id: Option<GuildUpgradeId>§apply_count: Option<u8>§name: Option<String>§icon: Option<String>§skins: Option<Vec<u64>>Trait Implementations§
Source§impl Clone for ConsumableDetails
impl Clone for ConsumableDetails
Source§fn clone(&self) -> ConsumableDetails
fn clone(&self) -> ConsumableDetails
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 ConsumableDetails
impl Debug for ConsumableDetails
Source§impl<'de> Deserialize<'de> for ConsumableDetails
impl<'de> Deserialize<'de> for ConsumableDetails
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 ConsumableDetails
impl PartialEq for ConsumableDetails
Source§impl PartialOrd for ConsumableDetails
impl PartialOrd for ConsumableDetails
Source§impl Serialize for ConsumableDetails
impl Serialize for ConsumableDetails
impl Eq for ConsumableDetails
impl StructuralPartialEq for ConsumableDetails
Auto Trait Implementations§
impl Freeze for ConsumableDetails
impl RefUnwindSafe for ConsumableDetails
impl Send for ConsumableDetails
impl Sync for ConsumableDetails
impl Unpin for ConsumableDetails
impl UnwindSafe for ConsumableDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more