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§
source§impl Clone for BucketAccessControl
impl Clone for BucketAccessControl
source§fn clone(&self) -> BucketAccessControl
fn clone(&self) -> BucketAccessControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BucketAccessControl
impl Debug for BucketAccessControl
source§impl Default for BucketAccessControl
impl Default for BucketAccessControl
source§fn default() -> BucketAccessControl
fn default() -> BucketAccessControl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BucketAccessControl
impl<'de> Deserialize<'de> for BucketAccessControl
source§fn 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
source§impl PartialEq<BucketAccessControl> for BucketAccessControl
impl PartialEq<BucketAccessControl> for BucketAccessControl
source§fn eq(&self, other: &BucketAccessControl) -> bool
fn eq(&self, other: &BucketAccessControl) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl 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§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.