Struct google_accesscontextmanager1::api::MethodSelector
source · pub struct MethodSelector {
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 MethodSelector
impl Clone for MethodSelector
source§fn clone(&self) -> MethodSelector
fn clone(&self) -> MethodSelector
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 Debug for MethodSelector
impl Debug for MethodSelector
source§impl Default for MethodSelector
impl Default for MethodSelector
source§fn default() -> MethodSelector
fn default() -> MethodSelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MethodSelector
impl<'de> Deserialize<'de> for MethodSelector
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
source§impl Serialize for MethodSelector
impl Serialize for MethodSelector
impl Part for MethodSelector
Auto Trait Implementations§
impl RefUnwindSafe for MethodSelector
impl Send for MethodSelector
impl Sync for MethodSelector
impl Unpin for MethodSelector
impl UnwindSafe for MethodSelector
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