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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BucketAccessControl) -> bool
fn ne(&self, other: &BucketAccessControl) -> bool
This method tests for !=.
sourceimpl Serialize for BucketAccessControl
impl Serialize 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more