pub enum Legality {
Legal,
Notlegal,
Restricted,
Banned,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Legality
impl<'de> Deserialize<'de> for Legality
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 Ord for Legality
impl Ord for Legality
Source§impl PartialOrd for Legality
impl PartialOrd for Legality
impl Copy for Legality
impl Eq for Legality
impl StructuralPartialEq for Legality
Auto Trait Implementations§
impl Freeze for Legality
impl RefUnwindSafe for Legality
impl Send for Legality
impl Sync for Legality
impl Unpin for Legality
impl UnwindSafe for Legality
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