#[non_exhaustive]pub struct CalendarListPayload {
pub calendars: Option<Vec<CalendarWithRecordingChangesUrl>>,
pub calendar_changes_url: Option<String>,
pub selected_calendar_ids: Option<Vec<i64>>,
}Expand description
CalendarListPayload
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.calendars: Option<Vec<CalendarWithRecordingChangesUrl>>§calendar_changes_url: Option<String>§selected_calendar_ids: Option<Vec<i64>>The calendars every period read is drawn from. ToggleCalendar changes this and answers the new one, so a client reads it here once — to open on what is already on — and takes it from the toggle after that.
Trait Implementations§
Source§impl Clone for CalendarListPayload
impl Clone for CalendarListPayload
Source§fn clone(&self) -> CalendarListPayload
fn clone(&self) -> CalendarListPayload
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 moreSource§impl Debug for CalendarListPayload
impl Debug for CalendarListPayload
Source§impl Default for CalendarListPayload
impl Default for CalendarListPayload
Source§fn default() -> CalendarListPayload
fn default() -> CalendarListPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CalendarListPayload
impl<'de> Deserialize<'de> for CalendarListPayload
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
Source§impl PartialEq for CalendarListPayload
impl PartialEq for CalendarListPayload
Source§impl Serialize for CalendarListPayload
impl Serialize for CalendarListPayload
impl StructuralPartialEq for CalendarListPayload
Auto Trait Implementations§
impl Freeze for CalendarListPayload
impl RefUnwindSafe for CalendarListPayload
impl Send for CalendarListPayload
impl Sync for CalendarListPayload
impl Unpin for CalendarListPayload
impl UnsafeUnpin for CalendarListPayload
impl UnwindSafe for CalendarListPayload
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