Struct google_accesscontextmanager1::api::BasicLevel
source · pub struct BasicLevel {
pub combining_function: Option<String>,
pub conditions: Option<Vec<Condition>>,
}
Expand description
BasicLevel
is an AccessLevel
using a set of recommended features.
This type is not used in any activity, and only used as part of another schema.
Fields§
§combining_function: Option<String>
How the conditions
list should be combined to determine if a request is granted this AccessLevel
. If AND is used, each Condition
in conditions
must be satisfied for the AccessLevel
to be applied. If OR is used, at least one Condition
in conditions
must be satisfied for the AccessLevel
to be applied. Default behavior is AND.
conditions: Option<Vec<Condition>>
Required. A list of requirements for the AccessLevel
to be granted.
Trait Implementations§
source§impl Clone for BasicLevel
impl Clone for BasicLevel
source§fn clone(&self) -> BasicLevel
fn clone(&self) -> BasicLevel
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 BasicLevel
impl Debug for BasicLevel
source§impl Default for BasicLevel
impl Default for BasicLevel
source§fn default() -> BasicLevel
fn default() -> BasicLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BasicLevel
impl<'de> Deserialize<'de> for BasicLevel
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 BasicLevel
impl Serialize for BasicLevel
impl Part for BasicLevel
Auto Trait Implementations§
impl RefUnwindSafe for BasicLevel
impl Send for BasicLevel
impl Sync for BasicLevel
impl Unpin for BasicLevel
impl UnwindSafe for BasicLevel
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