pub struct GoogleIdentityAccesscontextmanagerV1MethodSelector {
pub method: Option<String>,
pub permission: Option<String>,
}
Expand description
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>
A valid method name for the corresponding service_name
in ApiOperation. If *
is used as the value for the method
, then ALL methods and permissions are allowed.
permission: Option<String>
A valid Cloud IAM permission for the corresponding service_name
in ApiOperation.
Trait Implementations§
source§impl Clone for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl Clone for GoogleIdentityAccesscontextmanagerV1MethodSelector
source§fn clone(&self) -> GoogleIdentityAccesscontextmanagerV1MethodSelector
fn clone(&self) -> GoogleIdentityAccesscontextmanagerV1MethodSelector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl Default for GoogleIdentityAccesscontextmanagerV1MethodSelector
source§fn default() -> GoogleIdentityAccesscontextmanagerV1MethodSelector
fn default() -> GoogleIdentityAccesscontextmanagerV1MethodSelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl<'de> Deserialize<'de> for GoogleIdentityAccesscontextmanagerV1MethodSelector
source§fn 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
impl Part for GoogleIdentityAccesscontextmanagerV1MethodSelector
Auto Trait Implementations§
impl RefUnwindSafe for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl Send for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl Sync for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl Unpin for GoogleIdentityAccesscontextmanagerV1MethodSelector
impl UnwindSafe for GoogleIdentityAccesscontextmanagerV1MethodSelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more