Struct google_calendar::types::Event
source · [−]pub struct Event {Show 39 fields
pub anyone_can_add_self: bool,
pub attachments: Vec<EventAttachment>,
pub attendees: Vec<EventAttendee>,
pub attendees_omitted: bool,
pub color_id: String,
pub conference_data: Option<ConferenceData>,
pub created: Option<DateTime<Utc>>,
pub creator: Option<Creator>,
pub description: String,
pub end: Option<EventDateTime>,
pub end_time_unspecified: bool,
pub etag: String,
pub event_type: String,
pub extended_properties: Option<ExtendedProperties>,
pub gadget: Option<Gadget>,
pub guests_can_invite_others: bool,
pub guests_can_modify: bool,
pub guests_can_see_other_guests: bool,
pub hangout_link: String,
pub html_link: String,
pub i_cal_uid: String,
pub id: String,
pub kind: String,
pub location: String,
pub locked: bool,
pub organizer: Option<Organizer>,
pub original_start_time: Option<EventDateTime>,
pub private_copy: bool,
pub recurrence: Vec<String>,
pub recurring_event_id: String,
pub reminders: Option<Reminders>,
pub sequence: i64,
pub source: Option<Source>,
pub start: Option<EventDateTime>,
pub status: String,
pub summary: String,
pub transparency: String,
pub updated: Option<DateTime<Utc>>,
pub visibility: String,
}Fields
anyone_can_add_self: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
attachments: Vec<EventAttachment>File attachments for the event. Currently only Google Drive attachments are supported. In order to modify attachments the supportsAttachments request parameter should be set to true. There can be at most 25 attachments per event,
attendees: Vec<EventAttendee>The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
attendees_omitted: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
color_id: StringETag of the collection.
conference_data: Option<ConferenceData>created: Option<DateTime<Utc>>Last modification time of the color palette (as a RFC3339 timestamp). Read-only.
creator: Option<Creator>The creator of the event. Read-only.
description: StringETag of the collection.
end: Option<EventDateTime>end_time_unspecified: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
etag: StringETag of the collection.
event_type: StringETag of the collection.
extended_properties: Option<ExtendedProperties>Extended properties of the event.
gadget: Option<Gadget>A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
guests_can_invite_others: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
guests_can_modify: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
guests_can_see_other_guests: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
hangout_link: StringETag of the collection.
html_link: StringETag of the collection.
i_cal_uid: StringETag of the collection.
id: StringETag of the collection.
kind: StringETag of the collection.
location: StringETag of the collection.
locked: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
organizer: Option<Organizer>The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
original_start_time: Option<EventDateTime>private_copy: boolWhether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
recurrence: Vec<String>The types of conference solutions that are supported for this calendar. The possible values are:
- “eventHangout”
- “eventNamedHangout”
- “hangoutsMeet” Optional.
recurring_event_id: StringETag of the collection.
reminders: Option<Reminders>Information about the event’s reminders for the authenticated user.
sequence: i64Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
source: Option<Source>Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
start: Option<EventDateTime>status: StringETag of the collection.
summary: StringETag of the collection.
transparency: StringETag of the collection.
updated: Option<DateTime<Utc>>Last modification time of the color palette (as a RFC3339 timestamp). Read-only.
visibility: StringETag of the collection.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
sourcefn 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
sourceimpl JsonSchema for Event
impl JsonSchema for Event
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more