pub enum InputContact {
InputPhoneContact(InputPhoneContact),
}Expand description
Variants§
InputPhoneContact(InputPhoneContact)
Trait Implementations§
Source§impl Clone for InputContact
impl Clone for InputContact
Source§fn clone(&self) -> InputContact
fn clone(&self) -> InputContact
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 InputContact
impl Debug for InputContact
Source§impl Deserializable for InputContact
impl Deserializable for InputContact
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<InputPhoneContact> for InputContact
impl From<InputPhoneContact> for InputContact
Source§fn from(x: InputPhoneContact) -> Self
fn from(x: InputPhoneContact) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputContact
impl PartialEq for InputContact
Source§impl Serializable for InputContact
impl Serializable for InputContact
Source§impl TryFrom<InputContact> for InputPhoneContact
impl TryFrom<InputContact> for InputPhoneContact
Source§type Error = InputContact
type Error = InputContact
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputContact
Auto Trait Implementations§
impl Freeze for InputContact
impl RefUnwindSafe for InputContact
impl Send for InputContact
impl Sync for InputContact
impl Unpin for InputContact
impl UnsafeUnpin for InputContact
impl UnwindSafe for InputContact
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