#[non_exhaustive]pub struct CalendarChanges {
pub added: Vec<ListedCalendar>,
pub updated: Vec<Calendar>,
pub deleted: Vec<DeletedCalendar>,
pub next_page: Option<CalendarChangesCursor>,
pub next_cursor: Option<CalendarChangesCursor>,
}Expand description
Everything that happened to the calendar list since a cursor. Added calendars arrive as
ListedCalendar, so a new calendar comes with the changes URL and signed stream name
a live follower needs.
next_page is set while this increment has more pages to read now. next_cursor is set
on the last page and is where the next read should resume; it is None when nothing
changed, in which case the cursor that produced this page still stands. Unlike the
recording feed, this one never falls too far behind, so there is no full sync to ask for.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.added: Vec<ListedCalendar>The calendars that appeared, each with what a live follower needs.
updated: Vec<Calendar>The calendars that changed.
deleted: Vec<DeletedCalendar>The calendars that went.
next_page: Option<CalendarChangesCursor>The next page of this increment, while it has one.
next_cursor: Option<CalendarChangesCursor>Where the next read resumes, once the increment is read to its end.
Trait Implementations§
Source§impl Clone for CalendarChanges
impl Clone for CalendarChanges
Source§fn clone(&self) -> CalendarChanges
fn clone(&self) -> CalendarChanges
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more