pub struct Event {Show 19 fields
pub id: String,
pub calendar: Calendar,
pub title: String,
pub notes: String,
pub place: String,
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub all_day: bool,
pub time_zone: String,
pub recurrence: String,
pub reminder: u32,
pub attendees: Vec<Attendee>,
pub source: Option<Source>,
pub editable: bool,
pub response: Option<Answer>,
pub webhook: Option<String>,
pub webhook_secret: Option<String>,
pub created: DateTime<Utc>,
pub updated: DateTime<Utc>,
}Fields§
§id: String§calendar: CalendarThe calendar it’s on: yours, a group’s, or whoever invited you.
title: String§notes: String§place: String§start: DateTime<Utc>For a recurring event in a list, this occurrence’s.
end: DateTime<Utc>§all_day: bool§time_zone: StringAn IANA time zone, like America/New_York. A recurring event repeats on its clock.
recurrence: StringAn RRULE without its prefix, like FREQ=WEEKLY;BYDAY=MO. Empty for a one off.
reminder: u32Minutes before each start to email a reminder; 0 for none.
attendees: Vec<Attendee>§source: Option<Source>A linked Google or Outlook calendar it syncs from, or None for Fauna’s
own.
editable: boolYou can change it: it’s on your calendar or one of your groups’.
response: Option<Answer>Your answer, when you’re invited.
webhook: Option<String>Where calendar.event.started is POSTed as each occurrence starts. Only
its calendar’s owners see it.
webhook_secret: Option<String>Signs those deliveries (verify them with webhooks::verify). Only on the
create or update that set webhook.
created: DateTime<Utc>§updated: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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