pub struct MsgraphPatternedRecurrence {
pub pattern: MsgraphRecurrencePattern,
pub range: MsgraphRecurrenceRange,
}Expand description
The recurrence of a series: a pattern and the range it repeats over.
Fields§
§pattern: MsgraphRecurrencePatternHow often the event repeats.
range: MsgraphRecurrenceRangeWhen the repetition starts and stops.
Implementations§
Source§impl MsgraphPatternedRecurrence
impl MsgraphPatternedRecurrence
Sourcepub fn bounds(&self) -> Option<(Date, Option<Date>)>
Available on crate feature ical only.
pub fn bounds(&self) -> Option<(Date, Option<Date>)>
ical only.The first and last dates a series spans, inclusive, the last
None for a noEnd range.
The last date follows the range type: the endDate of an endDate
range, a bound past the last occurrence of a numbered one, sized
numberOfOccurrences times interval periods of the pattern. Graph
fills the endDate of the other types with 0001-01-01, which is
no end.
Trait Implementations§
Source§impl Clone for MsgraphPatternedRecurrence
impl Clone for MsgraphPatternedRecurrence
Source§impl Debug for MsgraphPatternedRecurrence
impl Debug for MsgraphPatternedRecurrence
Source§impl Default for MsgraphPatternedRecurrence
impl Default for MsgraphPatternedRecurrence
Source§impl<'de> Deserialize<'de> for MsgraphPatternedRecurrence
impl<'de> Deserialize<'de> for MsgraphPatternedRecurrence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MsgraphPatternedRecurrence
impl StructuralPartialEq for MsgraphPatternedRecurrence
Auto Trait Implementations§
impl Freeze for MsgraphPatternedRecurrence
impl RefUnwindSafe for MsgraphPatternedRecurrence
impl Send for MsgraphPatternedRecurrence
impl Sync for MsgraphPatternedRecurrence
impl Unpin for MsgraphPatternedRecurrence
impl UnsafeUnpin for MsgraphPatternedRecurrence
impl UnwindSafe for MsgraphPatternedRecurrence
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