Enum vstorage::base::AddressBookProperty
source · #[non_exhaustive]pub enum AddressBookProperty {
DisplayName,
Description,
}
Expand description
Properties supported for address books.
This is strongly based on the properties supported by CardDav
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
source§impl AddressBookProperty
impl AddressBookProperty
pub fn dav_propname(&self) -> &PropertyName<'_, '_>
Trait Implementations§
source§impl Clone for AddressBookProperty
impl Clone for AddressBookProperty
source§fn clone(&self) -> AddressBookProperty
fn clone(&self) -> AddressBookProperty
Returns a copy 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 AddressBookProperty
impl Debug for AddressBookProperty
source§impl Hash for AddressBookProperty
impl Hash for AddressBookProperty
source§impl PartialEq for AddressBookProperty
impl PartialEq for AddressBookProperty
source§fn eq(&self, other: &AddressBookProperty) -> bool
fn eq(&self, other: &AddressBookProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AddressBookProperty
impl StructuralPartialEq for AddressBookProperty
Auto Trait Implementations§
impl Freeze for AddressBookProperty
impl RefUnwindSafe for AddressBookProperty
impl Send for AddressBookProperty
impl Sync for AddressBookProperty
impl Unpin for AddressBookProperty
impl UnwindSafe for AddressBookProperty
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.