pub enum ComponentKind<S> {
Show 16 variants
Calendar,
Event,
Todo,
Journal,
FreeBusy,
TimeZone,
Alarm,
AudioAlarm,
DisplayAlarm,
EmailAlarm,
Standard,
Daylight,
StandardOrDaylight,
Iana(S),
X(S),
Unknown,
}Expand description
A component kind, including the static subcomponents.
Variants§
Calendar
Event
Todo
Journal
FreeBusy
TimeZone
Alarm
AudioAlarm
DisplayAlarm
EmailAlarm
Standard
Daylight
StandardOrDaylight
Iana(S)
X(S)
Unknown
Iana or X without a specific name.
Trait Implementations§
Source§impl<S: Clone> Clone for ComponentKind<S>
impl<S: Clone> Clone for ComponentKind<S>
Source§fn clone(&self) -> ComponentKind<S>
fn clone(&self) -> ComponentKind<S>
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<S: Copy> Copy for ComponentKind<S>
Source§impl<S: Debug> Debug for ComponentKind<S>
impl<S: Debug> Debug for ComponentKind<S>
impl<S: Eq> Eq for ComponentKind<S>
Source§impl<S> From<TzRuleKind> for ComponentKind<S>
impl<S> From<TzRuleKind> for ComponentKind<S>
Source§fn from(value: TzRuleKind) -> Self
fn from(value: TzRuleKind) -> Self
Converts to this type from the input type.
Source§impl<S: PartialEq> PartialEq for ComponentKind<S>
impl<S: PartialEq> PartialEq for ComponentKind<S>
impl<S: PartialEq> StructuralPartialEq for ComponentKind<S>
Auto Trait Implementations§
impl<S> Freeze for ComponentKind<S>where
S: Freeze,
impl<S> RefUnwindSafe for ComponentKind<S>where
S: RefUnwindSafe,
impl<S> Send for ComponentKind<S>where
S: Send,
impl<S> Sync for ComponentKind<S>where
S: Sync,
impl<S> Unpin for ComponentKind<S>where
S: Unpin,
impl<S> UnsafeUnpin for ComponentKind<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ComponentKind<S>where
S: UnwindSafe,
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