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
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 NewObjectAccessControlimpl Send for NewObjectAccessControlimpl Sync for NewObjectAccessControlimpl Unpin for NewObjectAccessControlimpl UnwindSafe for NewObjectAccessControl