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