Struct google_drive::types::TeamDriveRestrictions
source · pub struct TeamDriveRestrictions {
pub admin_managed_restrictions: Option<bool>,
pub copy_requires_writer_permission: Option<bool>,
pub domain_users_only: Option<bool>,
pub team_members_only: Option<bool>,
}Expand description
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
Fields§
§admin_managed_restrictions: Option<bool>A set of restrictions that apply to this Team Drive or items inside this Team Drive.
copy_requires_writer_permission: Option<bool>A set of restrictions that apply to this Team Drive or items inside this Team Drive.
domain_users_only: Option<bool>A set of restrictions that apply to this Team Drive or items inside this Team Drive.
team_members_only: Option<bool>A set of restrictions that apply to this Team Drive or items inside this Team Drive.
Trait Implementations§
source§impl Clone for TeamDriveRestrictions
impl Clone for TeamDriveRestrictions
source§fn clone(&self) -> TeamDriveRestrictions
fn clone(&self) -> TeamDriveRestrictions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TeamDriveRestrictions
impl Debug for TeamDriveRestrictions
source§impl<'de> Deserialize<'de> for TeamDriveRestrictions
impl<'de> Deserialize<'de> for TeamDriveRestrictions
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for TeamDriveRestrictions
impl JsonSchema for TeamDriveRestrictions
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<TeamDriveRestrictions> for TeamDriveRestrictions
impl PartialEq<TeamDriveRestrictions> for TeamDriveRestrictions
source§fn eq(&self, other: &TeamDriveRestrictions) -> bool
fn eq(&self, other: &TeamDriveRestrictions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.