Struct cloud_storage::object_access_control::NewObjectAccessControl [−][src]
Expand description
Used to create a new ObjectAccessControl object.
Fields
entity: EntityThe entity holding the permission, in one of the following forms:
user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers
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 NewObjectAccessControl[src]
impl Debug for NewObjectAccessControl[src]impl PartialEq<NewObjectAccessControl> for NewObjectAccessControl[src]
impl PartialEq<NewObjectAccessControl> for NewObjectAccessControl[src]fn eq(&self, other: &NewObjectAccessControl) -> bool[src]
fn eq(&self, other: &NewObjectAccessControl) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &NewObjectAccessControl) -> bool[src]
fn ne(&self, other: &NewObjectAccessControl) -> bool[src]This method tests for !=.
impl Serialize for NewObjectAccessControl[src]
impl Serialize for NewObjectAccessControl[src]impl StructuralPartialEq for NewObjectAccessControl[src]
Auto Trait Implementations
impl RefUnwindSafe for NewObjectAccessControl
impl Send for NewObjectAccessControl
impl Sync for NewObjectAccessControl
impl Unpin for NewObjectAccessControl
impl UnwindSafe for NewObjectAccessControl
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]