Struct gapi_grpc::google::identity::accesscontextmanager::v1::BasicLevel[][src]

pub struct BasicLevel {
    pub conditions: Vec<Condition>,
    pub combining_function: i32,
}

BasicLevel is an AccessLevel using a set of recommended features.

Fields

conditions: Vec<Condition>

Required. A list of requirements for the AccessLevel to be granted.

combining_function: i32

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.

Implementations

impl BasicLevel[src]

pub fn combining_function(&self) -> ConditionCombiningFunction[src]

Returns the enum value of combining_function, or the default if the field is set to an invalid enum value.

pub fn set_combining_function(&mut self, value: ConditionCombiningFunction)[src]

Sets combining_function to the provided enum value.

Trait Implementations

impl Clone for BasicLevel[src]

impl Debug for BasicLevel[src]

impl Default for BasicLevel[src]

impl Message for BasicLevel[src]

impl PartialEq<BasicLevel> for BasicLevel[src]

impl StructuralPartialEq for BasicLevel[src]

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

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]