pub enum ICalendarValue {
Show 20 variants
Binary(Vec<u8>),
Boolean(bool),
Uri(Uri),
PartialDateTime(Box<PartialDateTime>),
Duration(ICalendarDuration),
RecurrenceRule(Box<ICalendarRecurrenceRule>),
Period(ICalendarPeriod),
Float(f64),
Integer(i64),
Text(String),
CalendarScale(CalendarScale),
Method(ICalendarMethod),
Classification(ICalendarClassification),
Status(ICalendarStatus),
Transparency(ICalendarTransparency),
Action(ICalendarAction),
BusyType(ICalendarFreeBusyType),
ParticipantType(ICalendarParticipantType),
ResourceType(ICalendarResourceType),
Proximity(ICalendarProximityValue),
}Variants§
Binary(Vec<u8>)
Boolean(bool)
Uri(Uri)
PartialDateTime(Box<PartialDateTime>)
Duration(ICalendarDuration)
RecurrenceRule(Box<ICalendarRecurrenceRule>)
Period(ICalendarPeriod)
Float(f64)
Integer(i64)
Text(String)
CalendarScale(CalendarScale)
Method(ICalendarMethod)
Classification(ICalendarClassification)
Status(ICalendarStatus)
Transparency(ICalendarTransparency)
Action(ICalendarAction)
BusyType(ICalendarFreeBusyType)
ParticipantType(ICalendarParticipantType)
ResourceType(ICalendarResourceType)
Proximity(ICalendarProximityValue)
Implementations§
Source§impl ICalendarValue
impl ICalendarValue
pub fn size(&self) -> usize
pub fn as_text(&self) -> Option<&str>
pub fn as_integer(&self) -> Option<i64>
pub fn as_float(&self) -> Option<f64>
pub fn as_boolean(&self) -> Option<bool>
pub fn as_partial_date_time(&self) -> Option<&PartialDateTime>
pub fn as_binary(&self) -> Option<&[u8]>
Trait Implementations§
Source§impl Clone for ICalendarValue
impl Clone for ICalendarValue
Source§fn clone(&self) -> ICalendarValue
fn clone(&self) -> ICalendarValue
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 ICalendarValue
impl Debug for ICalendarValue
Source§impl PartialEq for ICalendarValue
impl PartialEq for ICalendarValue
impl Eq for ICalendarValue
impl StructuralPartialEq for ICalendarValue
Auto Trait Implementations§
impl Freeze for ICalendarValue
impl RefUnwindSafe for ICalendarValue
impl Send for ICalendarValue
impl Sync for ICalendarValue
impl Unpin for ICalendarValue
impl UnwindSafe for ICalendarValue
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