Struct google_accesscontextmanager1::api::MethodSelector[][src]

pub struct MethodSelector {
    pub method: Option<String>,
    pub permission: Option<String>,
}

An allowed method or permission of a service specified in ApiOperation.

This type is not used in any activity, and only used as part of another schema.

Fields

method: Option<String>

Value for method should be a valid method name for the corresponding service_name in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.

permission: Option<String>

Value for permission should be a valid Cloud IAM permission for the corresponding service_name in ApiOperation.

Trait Implementations

impl Clone for MethodSelector[src]

impl Debug for MethodSelector[src]

impl Default for MethodSelector[src]

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

impl Part for MethodSelector[src]

impl Serialize for MethodSelector[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> 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.