Struct google_drive::types::TeamDriveCapabilities
source · pub struct TeamDriveCapabilities {Show 19 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_team_drive_background: Option<bool>,
pub can_change_team_members_only_restriction: Option<bool>,
pub can_comment: Option<bool>,
pub can_copy: Option<bool>,
pub can_delete_children: Option<bool>,
pub can_delete_team_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_remove_children: Option<bool>,
pub can_rename: Option<bool>,
pub can_rename_team_drive: Option<bool>,
pub can_share: Option<bool>,
pub can_trash_children: Option<bool>,
}
Expand description
Capabilities the current user has on this Team Drive.
Fields§
§can_add_children: Option<bool>
Capabilities the current user has on this Team Drive.
can_change_copy_requires_writer_permission_restriction: Option<bool>
Capabilities the current user has on this Team Drive.
can_change_domain_users_only_restriction: Option<bool>
Capabilities the current user has on this Team Drive.
can_change_team_drive_background: Option<bool>
Capabilities the current user has on this Team Drive.
can_change_team_members_only_restriction: Option<bool>
Capabilities the current user has on this Team Drive.
can_comment: Option<bool>
Capabilities the current user has on this Team Drive.
can_copy: Option<bool>
Capabilities the current user has on this Team Drive.
can_delete_children: Option<bool>
Capabilities the current user has on this Team Drive.
can_delete_team_drive: Option<bool>
Capabilities the current user has on this Team Drive.
can_download: Option<bool>
Capabilities the current user has on this Team Drive.
can_edit: Option<bool>
Capabilities the current user has on this Team Drive.
can_list_children: Option<bool>
Capabilities the current user has on this Team Drive.
can_manage_members: Option<bool>
Capabilities the current user has on this Team Drive.
can_read_revisions: Option<bool>
Capabilities the current user has on this Team Drive.
can_remove_children: Option<bool>
Capabilities the current user has on this Team Drive.
can_rename: Option<bool>
Capabilities the current user has on this Team Drive.
can_rename_team_drive: Option<bool>
Capabilities the current user has on this Team Drive.
Capabilities the current user has on this Team Drive.
can_trash_children: Option<bool>
Capabilities the current user has on this Team Drive.
Trait Implementations§
source§impl Clone for TeamDriveCapabilities
impl Clone for TeamDriveCapabilities
source§fn clone(&self) -> TeamDriveCapabilities
fn clone(&self) -> TeamDriveCapabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TeamDriveCapabilities
impl Debug for TeamDriveCapabilities
source§impl<'de> Deserialize<'de> for TeamDriveCapabilities
impl<'de> Deserialize<'de> for TeamDriveCapabilities
source§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>,
source§impl JsonSchema for TeamDriveCapabilities
impl JsonSchema for TeamDriveCapabilities
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq<TeamDriveCapabilities> for TeamDriveCapabilities
impl PartialEq<TeamDriveCapabilities> for TeamDriveCapabilities
source§fn eq(&self, other: &TeamDriveCapabilities) -> bool
fn eq(&self, other: &TeamDriveCapabilities) -> bool
self
and other
values to be equal, and is used
by ==
.