Struct google_drive::types::Restrictions [−][src]
pub struct Restrictions {
pub admin_managed_restrictions: Option<bool>,
pub copy_requires_writer_permission: Option<bool>,
pub domain_users_only: Option<bool>,
pub drive_members_only: Option<bool>,
}Expand description
A set of restrictions that apply to this shared drive or items inside this shared drive.
Fields
admin_managed_restrictions: Option<bool>A set of restrictions that apply to this shared drive or items inside this shared drive.
copy_requires_writer_permission: Option<bool>A set of restrictions that apply to this shared drive or items inside this shared drive.
domain_users_only: Option<bool>A set of restrictions that apply to this shared drive or items inside this shared drive.
drive_members_only: Option<bool>A set of restrictions that apply to this shared drive or items inside 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 Restrictions
impl Send for Restrictions
impl Sync for Restrictions
impl Unpin for Restrictions
impl UnwindSafe for Restrictions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more