pub struct BucketAccessControl {
pub role: BucketACLRole,
pub id: String,
pub entity: String,
pub entity_id: Option<String>,
pub email: Option<String>,
pub domain: Option<String>,
pub project_team: Option<ProjectTeam>,
pub self_link: String,
pub etag: String,
}Expand description
An access-control entry.
Fields
role: BucketACLRoleThe access permission for the entity.
id: StringThe ID of the access-control entry.
entity: StringThe entity holding the permission, in one of the following forms:
user-{userid}user-{email}group-{groupid}group-{email}domain-{domain}project-{team-projectid}allUsersallAuthenticatedUsersExamples:- The user
liz@example.comwould beuser-liz@example.com. - The group
example@googlegroups.comwould begroup-example@googlegroups.com - All members of the Google Apps for Business domain
example.comwould bedomain-example.com
entity_id: Option<String>The ID for the entity, if any.
email: Option<String>The email address associated with the entity, if any.
domain: Option<String>The domain associated with the entity, if any.
project_team: Option<ProjectTeam>The project team associated with the entity, if any.
self_link: StringThe link to this access-control entry.
etag: StringHTTP 1.1 Entity tag for the access-control entry.
Trait Implementations
sourceimpl Clone for BucketAccessControl
impl Clone for BucketAccessControl
sourcefn clone(&self) -> BucketAccessControl
fn clone(&self) -> BucketAccessControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BucketAccessControl
impl Debug for BucketAccessControl
sourceimpl Default for BucketAccessControl
impl Default for BucketAccessControl
sourcefn default() -> BucketAccessControl
fn default() -> BucketAccessControl
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BucketAccessControl
impl<'de> Deserialize<'de> for BucketAccessControl
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<BucketAccessControl> for BucketAccessControl
impl PartialEq<BucketAccessControl> for BucketAccessControl
sourcefn eq(&self, other: &BucketAccessControl) -> bool
fn eq(&self, other: &BucketAccessControl) -> bool
sourceimpl Serialize for BucketAccessControl
impl Serialize for BucketAccessControl
impl Eq for BucketAccessControl
impl StructuralEq for BucketAccessControl
impl StructuralPartialEq for BucketAccessControl
Auto Trait Implementations
impl RefUnwindSafe for BucketAccessControl
impl Send for BucketAccessControl
impl Sync for BucketAccessControl
impl Unpin for BucketAccessControl
impl UnwindSafe for BucketAccessControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.