pub struct CalendarEventDiscovery {
pub next_cursor: String,
pub results: Vec<CalendarEvent>,
}Fields§
§next_cursor: StringBase64-encoded JSON: type: object properties: dataSource: type: string enum: - featured - personalized dataIndex: type: integer format: int32 phase: type: string enum: - all - live - upcoming description: see CalendarEventDiscoveryScope asOf: type: integer format: int64 description: milliseconds since Unix epoch paramHash: type: string format: string description: Base64-encoded 256-bit hash of the original query parameters
results: Vec<CalendarEvent>Implementations§
Source§impl CalendarEventDiscovery
impl CalendarEventDiscovery
pub fn new( next_cursor: String, results: Vec<CalendarEvent>, ) -> CalendarEventDiscovery
Trait Implementations§
Source§impl Clone for CalendarEventDiscovery
impl Clone for CalendarEventDiscovery
Source§fn clone(&self) -> CalendarEventDiscovery
fn clone(&self) -> CalendarEventDiscovery
Returns a duplicate 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 CalendarEventDiscovery
impl Debug for CalendarEventDiscovery
Source§impl Default for CalendarEventDiscovery
impl Default for CalendarEventDiscovery
Source§fn default() -> CalendarEventDiscovery
fn default() -> CalendarEventDiscovery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CalendarEventDiscovery
impl<'de> Deserialize<'de> for CalendarEventDiscovery
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 CalendarEventDiscovery
impl PartialEq for CalendarEventDiscovery
Source§impl Serialize for CalendarEventDiscovery
impl Serialize for CalendarEventDiscovery
impl StructuralPartialEq for CalendarEventDiscovery
Auto Trait Implementations§
impl Freeze for CalendarEventDiscovery
impl RefUnwindSafe for CalendarEventDiscovery
impl Send for CalendarEventDiscovery
impl Sync for CalendarEventDiscovery
impl Unpin for CalendarEventDiscovery
impl UnwindSafe for CalendarEventDiscovery
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