pub struct ObjectAccessControl {Show 13 fields
pub bucket: Option<String>,
pub domain: Option<String>,
pub email: Option<String>,
pub entity: String,
pub entity_id: Option<String>,
pub etag: String,
pub generation: Option<i64>,
pub id: Option<String>,
pub kind: String,
pub object: Option<String>,
pub project_team: Option<ProjectTeam>,
pub role: ObjectACLRole,
pub self_link: Option<String>,
}Expand description
An access-control entry.
Fields
bucket: Option<String>domain: Option<String>email: Option<String>entity: Stringentity_id: Option<String>etag: Stringgeneration: Option<i64>id: Option<String>kind: Stringobject: Option<String>project_team: Option<ProjectTeam>role: ObjectACLRoleself_link: Option<String>Trait Implementations
sourceimpl Clone for ObjectAccessControl
impl Clone for ObjectAccessControl
sourcefn clone(&self) -> ObjectAccessControl
fn clone(&self) -> ObjectAccessControl
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 ObjectAccessControl
impl Debug for ObjectAccessControl
sourceimpl Default for ObjectAccessControl
impl Default for ObjectAccessControl
sourcefn default() -> ObjectAccessControl
fn default() -> ObjectAccessControl
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ObjectAccessControl
impl<'de> Deserialize<'de> for ObjectAccessControl
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<ObjectAccessControl> for ObjectAccessControl
impl PartialEq<ObjectAccessControl> for ObjectAccessControl
sourcefn eq(&self, other: &ObjectAccessControl) -> bool
fn eq(&self, other: &ObjectAccessControl) -> bool
sourceimpl Serialize for ObjectAccessControl
impl Serialize for ObjectAccessControl
impl Eq for ObjectAccessControl
impl StructuralEq for ObjectAccessControl
impl StructuralPartialEq for ObjectAccessControl
Auto Trait Implementations
impl RefUnwindSafe for ObjectAccessControl
impl Send for ObjectAccessControl
impl Sync for ObjectAccessControl
impl Unpin for ObjectAccessControl
impl UnwindSafe for ObjectAccessControl
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.