Struct google_calendar3::Event [] [src]

pub struct Event {
    pub attachments: Option<Vec<EventAttachment>>,
    pub creator: Option<EventCreator>,
    pub organizer: Option<EventOrganizer>,
    pub id: Option<String>,
    pub hangout_link: Option<String>,
    pub guests_can_invite_others: Option<bool>,
    pub attendees: Option<Vec<EventAttendee>>,
    pub start: Option<EventDateTime>,
    pub html_link: Option<String>,
    pub recurrence: Option<Vec<String>>,
    pub source: Option<EventSource>,
    pub etag: Option<String>,
    pub location: Option<String>,
    pub recurring_event_id: Option<String>,
    pub original_start_time: Option<EventDateTime>,
    pub status: Option<String>,
    pub updated: Option<String>,
    pub description: Option<String>,
    pub i_cal_uid: Option<String>,
    pub gadget: Option<EventGadget>,
    pub end_time_unspecified: Option<bool>,
    pub sequence: Option<i32>,
    pub visibility: Option<String>,
    pub guests_can_modify: Option<bool>,
    pub end: Option<EventDateTime>,
    pub attendees_omitted: Option<bool>,
    pub kind: Option<String>,
    pub locked: Option<bool>,
    pub created: Option<String>,
    pub color_id: Option<String>,
    pub anyone_can_add_self: Option<bool>,
    pub reminders: Option<EventReminders>,
    pub guests_can_see_other_guests: Option<bool>,
    pub summary: Option<String>,
    pub extended_properties: Option<EventExtendedProperties>,
    pub transparency: Option<String>,
    pub private_copy: Option<bool>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

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,

The creator of the event. Read-only.

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.

Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 - the length of the ID must be between 5 and 1024 characters - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. If you do not specify an ID, it will be automatically generated by the server. Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.

An absolute link to the Google+ hangout associated with this event. Read-only.

Whether attendees other than the organizer can invite others to the event. Optional. The default is True.

The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.

The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.

An absolute link to this event in the Google Calendar Web UI. Read-only.

List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.

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.

ETag of the resource.

Geographic location of the event as free-form text. Optional.

For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.

For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable.

Status of the event. Optional. Possible values are: - "confirmed" - The event is confirmed. This is the default status. - "tentative" - The event is tentatively confirmed. - "cancelled" - The event is cancelled.

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

Description of the event. Optional.

Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.

A gadget that extends this event.

Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.

Sequence number as per iCalendar.

Visibility of the event. Optional. Possible values are: - "default" - Uses the default visibility for events on the calendar. This is the default value. - "public" - The event is public and event details are visible to all readers of the calendar. - "private" - The event is private and only event attendees may view event details. - "confidential" - The event is private. This value is provided for compatibility reasons.

Whether attendees other than the organizer can modify the event. Optional. The default is False.

The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.

Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.

Type of the resource ("calendar#event").

Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.

Creation time of the event (as a RFC3339 timestamp). Read-only.

The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.

Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.

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

Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.

Title of the event.

Extended properties of the event.

Whether the event blocks time on the calendar. Optional. Possible values are: - "opaque" - The event blocks time on the calendar. This is the default value. - "transparent" - The event does not block time on the calendar.

Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False.

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Event
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Event
[src]

impl Resource for Event
[src]

impl ResponseResult for Event
[src]