[−][src]Struct cloud_storage::object_access_control::NewObjectAccessControl
Used to create a new ObjectAccessControl
object.
Fields
entity: Entity
The 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: Role
The access permission for the entity.
Trait Implementations
impl Debug for NewObjectAccessControl
[src]
impl PartialEq<NewObjectAccessControl> for NewObjectAccessControl
[src]
fn eq(&self, other: &NewObjectAccessControl) -> bool
[src]
fn ne(&self, other: &NewObjectAccessControl) -> bool
[src]
impl Serialize for NewObjectAccessControl
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,