Struct google_drive::types::FileCapabilities [−][src]
pub struct FileCapabilities {Show 35 fields
pub can_add_children: Option<bool>,
pub can_add_folder_from_another_drive: Option<bool>,
pub can_add_my_drive_parent: Option<bool>,
pub can_change_copy_requires_writer_permission: Option<bool>,
pub can_change_security_update_enabled: Option<bool>,
pub can_change_viewers_can_copy_content: Option<bool>,
pub can_comment: Option<bool>,
pub can_copy: Option<bool>,
pub can_delete: Option<bool>,
pub can_delete_children: Option<bool>,
pub can_download: Option<bool>,
pub can_edit: Option<bool>,
pub can_list_children: Option<bool>,
pub can_modify_content: Option<bool>,
pub can_modify_content_restriction: Option<bool>,
pub can_move_children_out_of_drive: Option<bool>,
pub can_move_children_out_of_team_drive: Option<bool>,
pub can_move_children_within_drive: Option<bool>,
pub can_move_children_within_team_drive: Option<bool>,
pub can_move_item_into_team_drive: Option<bool>,
pub can_move_item_out_of_drive: Option<bool>,
pub can_move_item_out_of_team_drive: Option<bool>,
pub can_move_item_within_drive: Option<bool>,
pub can_move_item_within_team_drive: Option<bool>,
pub can_move_team_drive_item: Option<bool>,
pub can_read_drive: Option<bool>,
pub can_read_revisions: Option<bool>,
pub can_read_team_drive: Option<bool>,
pub can_remove_children: Option<bool>,
pub can_remove_my_drive_parent: Option<bool>,
pub can_rename: Option<bool>,
pub can_share: Option<bool>,
pub can_trash: Option<bool>,
pub can_trash_children: Option<bool>,
pub can_untrash: Option<bool>,
}Expand description
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Fields
can_add_children: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_add_folder_from_another_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_add_my_drive_parent: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_copy_requires_writer_permission: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_security_update_enabled: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_change_viewers_can_copy_content: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_comment: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_copy: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_delete: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_delete_children: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_download: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_edit: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_list_children: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_modify_content: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_modify_content_restriction: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_out_of_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_out_of_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_within_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_children_within_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_into_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_out_of_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_out_of_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_within_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_item_within_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_move_team_drive_item: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_revisions: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_read_team_drive: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_remove_children: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_remove_my_drive_parent: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_rename: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_trash: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_trash_children: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
can_untrash: Option<bool>Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FileCapabilities
impl Send for FileCapabilities
impl Sync for FileCapabilities
impl Unpin for FileCapabilities
impl UnwindSafe for FileCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more