Struct cloud_storage::bucket::IamPolicy[][src]

pub struct IamPolicy {
    pub version: i32,
    pub kind: Option<String>,
    pub resource_id: Option<String>,
    pub bindings: Vec<Binding>,
    pub etag: String,
}

A representation of the IAM Policiy for a certain bucket.

Fields

version: i32

The Cloud IAM policy version.

kind: Option<String>

The kind of item this is. For policies, this field is ignored in a request and is storage#policy in a response.

resource_id: Option<String>

The ID of the resource to which this policy belongs. The response for this field is of the form projects/_/buckets/bucket. This field is ignored in a request.

bindings: Vec<Binding>

A list of the bindings for this policy.

etag: String

HTTP 1.1 Entity tag for this policy.

Trait Implementations

impl Debug for IamPolicy[src]

impl Default for IamPolicy[src]

impl<'de> Deserialize<'de> for IamPolicy[src]

impl PartialEq<IamPolicy> for IamPolicy[src]

impl Serialize for IamPolicy[src]

impl StructuralPartialEq for IamPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.