Struct google_drive2::Change [−][src]
pub struct Change { pub team_drive: Option<TeamDrive>, pub kind: Option<String>, pub deleted: Option<bool>, pub file: Option<File>, pub modification_date: Option<String>, pub team_drive_id: Option<String>, pub type_: Option<String>, pub id: Option<String>, pub self_link: Option<String>, pub file_id: Option<String>, }
Representation of a change to a file or Team Drive.
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).
- list changes (none)
- get start page token changes (none)
- watch changes (none)
- get changes (response)
Fields
team_drive: Option<TeamDrive>
The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been deleted.
kind: Option<String>
This is always drive#change.
deleted: Option<bool>
Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
file: Option<File>
The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
modification_date: Option<String>
The time of this modification.
team_drive_id: Option<String>
The ID of the Team Drive associated with this change.
type_: Option<String>
The type of the change. Possible values are file and teamDrive.
id: Option<String>
The ID of the change.
self_link: Option<String>
A link back to this change.
file_id: Option<String>
The ID of the file associated with this change.
Trait Implementations
impl Default for Change
[src]
impl Default for Change
impl Clone for Change
[src]
impl Clone for Change
fn clone(&self) -> Change
[src]
fn clone(&self) -> Change
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Change
[src]
impl Debug for Change
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Change
[src]
impl Resource for Change
impl ResponseResult for Change
[src]
impl ResponseResult for Change