pub struct TornHonor {
pub id: HonorId,
pub name: String,
pub description: String,
pub type: Type,
pub circulation: Option<i32>,
pub equipped: Option<i32>,
pub rarity: Option<HonorRarityEnum>,
pub crimes_version: Option<AwardCrimesVersionEnum>,
}Expand description
Properties ‘circulation’, ‘equipped’ & ‘rarity’ are only populated for honors which do not have type.id value 1.
Fields§
§id: HonorId§name: String§description: String§type: Type§circulation: Option<i32>§equipped: Option<i32>§rarity: Option<HonorRarityEnum>§crimes_version: Option<AwardCrimesVersionEnum>Populated only when the type.id is 5.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TornHonor
impl<'de> Deserialize<'de> for TornHonor
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 TornHonor
Auto Trait Implementations§
impl Freeze for TornHonor
impl RefUnwindSafe for TornHonor
impl Send for TornHonor
impl Sync for TornHonor
impl Unpin for TornHonor
impl UnwindSafe for TornHonor
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