Struct cloud_storage::default_object_access_control::NewDefaultObjectAccessControl [−][src]
Expand description
Model that can be used to create a new DefaultObjectAccessControl object.
Fields
entity: EntityThe entity holding the permission, in one of the following forms:
user-userIduser-emailgroup-groupIdgroup-emaildomain-domainproject-team-projectIdallUsersallAuthenticatedUsers
Examples:
- The user liz@example.com would be user-liz@example.com.
- The group example@googlegroups.com would be group-example@googlegroups.com.
- To refer to all members of the G Suite for Business domain example.com, the entity would be domain-example.com.
role: RoleThe access permission for the entity.
Trait Implementations
impl Debug for NewDefaultObjectAccessControl[src]
impl Debug for NewDefaultObjectAccessControl[src]impl<'de> Deserialize<'de> for NewDefaultObjectAccessControl[src]
impl<'de> Deserialize<'de> for NewDefaultObjectAccessControl[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<NewDefaultObjectAccessControl> for NewDefaultObjectAccessControl[src]
impl PartialEq<NewDefaultObjectAccessControl> for NewDefaultObjectAccessControl[src]fn eq(&self, other: &NewDefaultObjectAccessControl) -> bool[src]
fn eq(&self, other: &NewDefaultObjectAccessControl) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &NewDefaultObjectAccessControl) -> bool[src]
fn ne(&self, other: &NewDefaultObjectAccessControl) -> bool[src]This method tests for !=.
impl StructuralPartialEq for NewDefaultObjectAccessControl[src]
Auto Trait Implementations
impl RefUnwindSafe for NewDefaultObjectAccessControl
impl Send for NewDefaultObjectAccessControl
impl Sync for NewDefaultObjectAccessControl
impl Unpin for NewDefaultObjectAccessControl
impl UnwindSafe for NewDefaultObjectAccessControl
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,