pub struct EKRecurrenceEnd {
pub end_date: Option<String>,
pub occurrence_count: Option<u64>,
}Expand description
Represents the EventKit EKRecurrenceEnd value.
Fields§
§end_date: Option<String>Mirrors the EventKit endDate property.
occurrence_count: Option<u64>Mirrors the EventKit occurrenceCount property.
Implementations§
Source§impl EKRecurrenceEnd
impl EKRecurrenceEnd
Sourcepub fn with_end_date(end_date: impl Into<String>) -> Self
pub fn with_end_date(end_date: impl Into<String>) -> Self
Sets the EventKit endDate property on this EKRecurrenceEnd value.
Sourcepub const fn with_occurrence_count(occurrence_count: u64) -> Self
pub const fn with_occurrence_count(occurrence_count: u64) -> Self
Sets the EventKit occurrenceCount property on this EKRecurrenceEnd value.
Trait Implementations§
Source§impl Clone for EKRecurrenceEnd
impl Clone for EKRecurrenceEnd
Source§impl Debug for EKRecurrenceEnd
impl Debug for EKRecurrenceEnd
Source§impl<'de> Deserialize<'de> for EKRecurrenceEnd
impl<'de> Deserialize<'de> for EKRecurrenceEnd
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 EKRecurrenceEnd
Source§impl PartialEq for EKRecurrenceEnd
impl PartialEq for EKRecurrenceEnd
Source§impl Serialize for EKRecurrenceEnd
impl Serialize for EKRecurrenceEnd
impl StructuralPartialEq for EKRecurrenceEnd
Auto Trait Implementations§
impl Forget for EKRecurrenceEnd
impl Freeze for EKRecurrenceEnd
impl Move for EKRecurrenceEnd
impl RefUnwindSafe for EKRecurrenceEnd
impl Send for EKRecurrenceEndwhere
RawVecInner: Send,
impl Sync for EKRecurrenceEndwhere
RawVecInner: Sync,
impl Unpin for EKRecurrenceEnd
impl UnsafeUnpin for EKRecurrenceEnd
impl UnwindSafe for EKRecurrenceEndwhere
RawVecInner: 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