pub enum ContactSource {
Mail,
Calendar,
}Expand description
Where a contact observation came from. Determines which seen_in_*
counter gets incremented.
Variants§
Trait Implementations§
Source§impl Clone for ContactSource
impl Clone for ContactSource
Source§fn clone(&self) -> ContactSource
fn clone(&self) -> ContactSource
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 moreSource§impl Debug for ContactSource
impl Debug for ContactSource
Source§impl PartialEq for ContactSource
impl PartialEq for ContactSource
Source§fn eq(&self, other: &ContactSource) -> bool
fn eq(&self, other: &ContactSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ContactSource
impl Eq for ContactSource
impl StructuralPartialEq for ContactSource
Auto Trait Implementations§
impl Freeze for ContactSource
impl RefUnwindSafe for ContactSource
impl Send for ContactSource
impl Sync for ContactSource
impl Unpin for ContactSource
impl UnsafeUnpin for ContactSource
impl UnwindSafe for ContactSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.