pub enum InputCollectible {
Username(InputCollectibleUsername),
Phone(InputCollectiblePhone),
}Expand description
Variants§
Username(InputCollectibleUsername)
Phone(InputCollectiblePhone)
Trait Implementations§
Source§impl Clone for InputCollectible
impl Clone for InputCollectible
Source§fn clone(&self) -> InputCollectible
fn clone(&self) -> InputCollectible
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 InputCollectible
impl Debug for InputCollectible
Source§impl Deserializable for InputCollectible
impl Deserializable for InputCollectible
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputCollectiblePhone> for InputCollectible
impl From<InputCollectiblePhone> for InputCollectible
Source§fn from(x: InputCollectiblePhone) -> Self
fn from(x: InputCollectiblePhone) -> Self
Converts to this type from the input type.
Source§impl From<InputCollectibleUsername> for InputCollectible
impl From<InputCollectibleUsername> for InputCollectible
Source§fn from(x: InputCollectibleUsername) -> Self
fn from(x: InputCollectibleUsername) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputCollectible
impl PartialEq for InputCollectible
Source§impl Serializable for InputCollectible
impl Serializable for InputCollectible
Source§impl TryFrom<InputCollectible> for InputCollectiblePhone
impl TryFrom<InputCollectible> for InputCollectiblePhone
Source§type Error = InputCollectible
type Error = InputCollectible
The type returned in the event of a conversion error.
Source§impl TryFrom<InputCollectible> for InputCollectibleUsername
impl TryFrom<InputCollectible> for InputCollectibleUsername
Source§type Error = InputCollectible
type Error = InputCollectible
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputCollectible
Auto Trait Implementations§
impl Freeze for InputCollectible
impl RefUnwindSafe for InputCollectible
impl Send for InputCollectible
impl Sync for InputCollectible
impl Unpin for InputCollectible
impl UnsafeUnpin for InputCollectible
impl UnwindSafe for InputCollectible
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