#[repr(i64)]pub enum CNContactType {
Person = 0,
Organization = 1,
}Expand description
The types a contact can be.
Variants§
Trait Implementations§
Source§impl Clone for CNContactType
impl Clone for CNContactType
Source§fn clone(&self) -> CNContactType
fn clone(&self) -> CNContactType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CNContactType
Source§impl Debug for CNContactType
impl Debug for CNContactType
impl Eq for CNContactType
Source§impl PartialEq for CNContactType
impl PartialEq for CNContactType
impl StructuralPartialEq for CNContactType
Auto Trait Implementations§
impl Freeze for CNContactType
impl RefUnwindSafe for CNContactType
impl Send for CNContactType
impl Sync for CNContactType
impl Unpin for CNContactType
impl UnsafeUnpin for CNContactType
impl UnwindSafe for CNContactType
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