Struct google_calendar::types::Event[][src]

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: bool

Whether 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: bool

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

color_id: String

ETag 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: String

ETag of the collection.

end: Option<EventDateTime>end_time_unspecified: bool

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

etag: String

ETag of the collection.

event_type: String

ETag 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: bool

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

guests_can_modify: bool

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

guests_can_see_other_guests: bool

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

hangout_link: String

ETag of the collection.

html_link: String

ETag of the collection.

i_cal_uid: String

ETag of the collection.

id: String

ETag of the collection.

kind: String

ETag of the collection.

location: String

ETag of the collection.

locked: bool

Whether 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: bool

Whether 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: String

ETag of the collection.

reminders: Option<Reminders>

Information about the event’s reminders for the authenticated user.

sequence: i64

Date 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: String

ETag of the collection.

summary: String

ETag of the collection.

transparency: String

ETag of the collection.

updated: Option<DateTime<Utc>>

Last modification time of the color palette (as a RFC3339 timestamp). Read-only.

visibility: String

ETag of the collection.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.