[][src]Struct google_appsactivity1::Event

pub struct Event {
    pub rename: Option<Rename>,
    pub target: Option<Target>,
    pub additional_event_types: Option<Vec<String>>,
    pub move_: Option<Move>,
    pub permission_changes: Option<Vec<PermissionChange>>,
    pub user: Option<User>,
    pub event_time_millis: Option<String>,
    pub primary_event_type: Option<String>,
    pub from_user_deletion: Option<bool>,
}

Represents the changes associated with an action taken by a user.

This type is not used in any activity, and only used as part of another schema.

Fields

rename: Option<Rename>

Extra information for rename type events, such as the old and new names.

target: Option<Target>

Information specific to the Target object modified by the event.

additional_event_types: Option<Vec<String>>

Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event.

move_: Option<Move>

Extra information for move type events, such as changes in an object's parents.

permission_changes: Option<Vec<PermissionChange>>

Extra information for permissionChange type events, such as the user or group the new permission applies to.

user: Option<User>

Represents the user responsible for the event.

event_time_millis: Option<String>

The time at which the event occurred formatted as Unix time in milliseconds.

primary_event_type: Option<String>

The main type of event that occurred.

from_user_deletion: Option<bool>

Whether this event is caused by a user being deleted.

Trait Implementations

impl Clone for Event[src]

impl Debug for Event[src]

impl Default for Event[src]

impl<'de> Deserialize<'de> for Event[src]

impl Part for Event[src]

impl Serialize for Event[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any