pub struct TornMedal {
pub id: MedalId,
pub name: String,
pub description: String,
pub type: Type,
pub circulation: i32,
pub rarity: HonorRarityEnum,
}
Fields§
§id: MedalId
§name: String
§description: String
§type: Type
§circulation: i32
§rarity: HonorRarityEnum
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TornMedal
impl<'de> Deserialize<'de> for TornMedal
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
impl StructuralPartialEq for TornMedal
Auto Trait Implementations§
impl Freeze for TornMedal
impl RefUnwindSafe for TornMedal
impl Send for TornMedal
impl Sync for TornMedal
impl Unpin for TornMedal
impl UnwindSafe for TornMedal
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