pub enum CollectibleItemType {
Username(CollectibleItemTypeUsername),
PhoneNumber(CollectibleItemTypePhoneNumber),
}Variants§
Username(CollectibleItemTypeUsername)
A username
PhoneNumber(CollectibleItemTypePhoneNumber)
A phone number
Trait Implementations§
Source§impl Clone for CollectibleItemType
impl Clone for CollectibleItemType
Source§fn clone(&self) -> CollectibleItemType
fn clone(&self) -> CollectibleItemType
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 CollectibleItemType
impl Debug for CollectibleItemType
Source§impl<'de> Deserialize<'de> for CollectibleItemType
impl<'de> Deserialize<'de> for CollectibleItemType
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 CollectibleItemType
impl PartialEq for CollectibleItemType
Source§impl Serialize for CollectibleItemType
impl Serialize for CollectibleItemType
impl StructuralPartialEq for CollectibleItemType
Auto Trait Implementations§
impl Freeze for CollectibleItemType
impl RefUnwindSafe for CollectibleItemType
impl Send for CollectibleItemType
impl Sync for CollectibleItemType
impl Unpin for CollectibleItemType
impl UnwindSafe for CollectibleItemType
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