Struct gapi_grpc::google::rpc::ResourceInfo[][src]

pub struct ResourceInfo {
    pub resource_type: String,
    pub resource_name: String,
    pub owner: String,
    pub description: String,
}

Describes the resource that is being accessed.

Fields

resource_type: String

A name for the type of resource being accessed, e.g. “sql table”, “cloud storage bucket”, “file”, “Google calendar”; or the type URL of the resource: e.g. “type.googleapis.com/google.pubsub.v1.Topic”.

resource_name: String

The name of the resource being accessed. For example, a shared calendar name: “example.com_4fghdhgsrgh@group.calendar.google.com”, if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].

owner: String

The owner of the resource (optional). For example, “user:” or “project:”.

description: String

Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.

Trait Implementations

impl Clone for ResourceInfo[src]

impl Debug for ResourceInfo[src]

impl Default for ResourceInfo[src]

impl Message for ResourceInfo[src]

impl PartialEq<ResourceInfo> for ResourceInfo[src]

impl StructuralPartialEq for ResourceInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceInfo

impl Send for ResourceInfo

impl Sync for ResourceInfo

impl Unpin for ResourceInfo

impl UnwindSafe for ResourceInfo

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]