pub enum Crimes {
PersonalStatsCrimesV1(PersonalStatsCrimesV1),
PersonalStatsCrimesV2(PersonalStatsCrimesV2),
}Variants§
PersonalStatsCrimesV1(PersonalStatsCrimesV1)
PersonalStatsCrimesV2(PersonalStatsCrimesV2)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crimes
impl<'de> Deserialize<'de> for Crimes
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 From<PersonalStatsCrimesV1> for Crimes
impl From<PersonalStatsCrimesV1> for Crimes
Source§fn from(value: PersonalStatsCrimesV1) -> Self
fn from(value: PersonalStatsCrimesV1) -> Self
Converts to this type from the input type.
Source§impl From<PersonalStatsCrimesV2> for Crimes
impl From<PersonalStatsCrimesV2> for Crimes
Source§fn from(value: PersonalStatsCrimesV2) -> Self
fn from(value: PersonalStatsCrimesV2) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Crimes
Auto Trait Implementations§
impl Freeze for Crimes
impl RefUnwindSafe for Crimes
impl Send for Crimes
impl Sync for Crimes
impl Unpin for Crimes
impl UnwindSafe for Crimes
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