Enum vstorage::base::CalendarProperty
source · #[non_exhaustive]pub enum CalendarProperty {
Colour,
DisplayName,
Description,
Order,
}
Expand description
Properties supported for calendars.
This is strongly based on the properties supported by CalDav
.
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.
Colour
A colour to be used when displaying this collection.
Graphical interfaces may use this for the collection itself or its items.
DisplayName
A user-friendly name for a collection.
It is recommended to show this name in user interfaces.
Description
Order
Implementations§
source§impl CalendarProperty
impl CalendarProperty
pub fn dav_propname(&self) -> &PropertyName<'_, '_>
Trait Implementations§
source§impl Clone for CalendarProperty
impl Clone for CalendarProperty
source§fn clone(&self) -> CalendarProperty
fn clone(&self) -> CalendarProperty
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 CalendarProperty
impl Debug for CalendarProperty
source§impl Hash for CalendarProperty
impl Hash for CalendarProperty
source§impl PartialEq for CalendarProperty
impl PartialEq for CalendarProperty
impl Eq for CalendarProperty
impl StructuralPartialEq for CalendarProperty
Auto Trait Implementations§
impl Freeze for CalendarProperty
impl RefUnwindSafe for CalendarProperty
impl Send for CalendarProperty
impl Sync for CalendarProperty
impl Unpin for CalendarProperty
impl UnwindSafe for CalendarProperty
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.