Struct gsuite_api::types::Privileges
source · Fields
etag: Stringitems: Vec<Privilege>A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.
kind: StringTrait Implementations
sourceimpl Clone for Privileges
impl Clone for Privileges
sourcefn clone(&self) -> Privileges
fn clone(&self) -> Privileges
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Privileges
impl Debug for Privileges
sourceimpl<'de> Deserialize<'de> for Privileges
impl<'de> Deserialize<'de> for Privileges
sourcefn 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
sourceimpl JsonSchema for Privileges
impl JsonSchema for Privileges
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 moresourceimpl PartialEq<Privileges> for Privileges
impl PartialEq<Privileges> for Privileges
sourcefn eq(&self, other: &Privileges) -> bool
fn eq(&self, other: &Privileges) -> bool
sourceimpl Serialize for Privileges
impl Serialize for Privileges
impl StructuralPartialEq for Privileges
Auto Trait Implementations
impl RefUnwindSafe for Privileges
impl Send for Privileges
impl Sync for Privileges
impl Unpin for Privileges
impl UnwindSafe for Privileges
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more