[−][src]Struct cloud_storage::bucket_access_control::NewBucketAccessControl
Model that can be used to create a new BucketAccessControl 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 NewBucketAccessControl[src]
impl PartialEq<NewBucketAccessControl> for NewBucketAccessControl[src]
fn eq(&self, other: &NewBucketAccessControl) -> bool[src]
fn ne(&self, other: &NewBucketAccessControl) -> bool[src]
impl Serialize for NewBucketAccessControl[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for NewBucketAccessControl[src]
Auto Trait Implementations
impl RefUnwindSafe for NewBucketAccessControl
impl Send for NewBucketAccessControl
impl Sync for NewBucketAccessControl
impl Unpin for NewBucketAccessControl
impl UnwindSafe for NewBucketAccessControl
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>,