Struct google_drive3::Change [−][src]
pub struct Change { pub team_drive: Option<TeamDrive>, pub kind: Option<String>, pub file: Option<File>, pub time: Option<String>, pub team_drive_id: Option<String>, pub removed: Option<bool>, pub type_: Option<String>, pub file_id: Option<String>, }
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)
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 removed.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "drive#change".
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.
time: Option<String>
The time of this change (RFC 3339 date-time).
team_drive_id: Option<String>
The ID of the Team Drive associated with this change.
removed: Option<bool>
Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
type_: Option<String>
The type of the change. Possible values are file and teamDrive.
file_id: Option<String>
The ID of the file which has changed.
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