Struct google_drive::types::Capabilities [−][src]
pub struct Capabilities {Show 18 fields
pub can_add_children: Option<bool>,
pub can_change_copy_requires_writer_permission_restriction: Option<bool>,
pub can_change_domain_users_only_restriction: Option<bool>,
pub can_change_drive_background: Option<bool>,
pub can_change_drive_members_only_restriction: Option<bool>,
pub can_comment: Option<bool>,
pub can_copy: Option<bool>,
pub can_delete_children: Option<bool>,
pub can_delete_drive: Option<bool>,
pub can_download: Option<bool>,
pub can_edit: Option<bool>,
pub can_list_children: Option<bool>,
pub can_manage_members: Option<bool>,
pub can_read_revisions: Option<bool>,
pub can_rename: Option<bool>,
pub can_rename_drive: Option<bool>,
pub can_share: Option<bool>,
pub can_trash_children: Option<bool>,
}Expand description
Capabilities the current user has on this shared drive.
Fields
can_add_children: Option<bool>Capabilities the current user has on this shared drive.
can_change_copy_requires_writer_permission_restriction: Option<bool>Capabilities the current user has on this shared drive.
can_change_domain_users_only_restriction: Option<bool>Capabilities the current user has on this shared drive.
can_change_drive_background: Option<bool>Capabilities the current user has on this shared drive.
can_change_drive_members_only_restriction: Option<bool>Capabilities the current user has on this shared drive.
can_comment: Option<bool>Capabilities the current user has on this shared drive.
can_copy: Option<bool>Capabilities the current user has on this shared drive.
can_delete_children: Option<bool>Capabilities the current user has on this shared drive.
can_delete_drive: Option<bool>Capabilities the current user has on this shared drive.
can_download: Option<bool>Capabilities the current user has on this shared drive.
can_edit: Option<bool>Capabilities the current user has on this shared drive.
can_list_children: Option<bool>Capabilities the current user has on this shared drive.
can_manage_members: Option<bool>Capabilities the current user has on this shared drive.
can_read_revisions: Option<bool>Capabilities the current user has on this shared drive.
can_rename: Option<bool>Capabilities the current user has on this shared drive.
can_rename_drive: Option<bool>Capabilities the current user has on this shared drive.
Capabilities the current user has on this shared drive.
can_trash_children: Option<bool>Capabilities the current user has on this shared drive.
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 Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more