[][src]Enum gcp_client::google::cloud::orgpolicy::v1::policy::list_policy::AllValues

#[repr(i32)]pub enum AllValues {
    Unspecified,
    Allow,
    Deny,
}

This enum can be used to set Policies that apply to all possible configuration values rather than specific values in allowed_values or denied_values.

Settting this to ALLOW will mean this Policy allows all values. Similarly, setting it to DENY will mean no values are allowed. If set to either ALLOW or DENY, allowed_valuesanddenied_valuesmust be unset. Setting this toALL_VALUES_UNSPECIFIEDallows for settingallowed_valuesanddenied_values`.

Variants

Unspecified

Indicates that allowed_values or denied_values must be set.

Allow

A policy with this set allows all values.

Deny

A policy with this set denies all values.

Implementations

impl AllValues[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of AllValues.

pub fn from_i32(value: i32) -> Option<AllValues>[src]

Converts an i32 to a AllValues, or None if value is not a valid variant.

Trait Implementations

impl Clone for AllValues[src]

impl Copy for AllValues[src]

impl Debug for AllValues[src]

impl Default for AllValues[src]

impl Eq for AllValues[src]

impl From<AllValues> for i32[src]

impl Hash for AllValues[src]

impl Ord for AllValues[src]

impl PartialEq<AllValues> for AllValues[src]

impl PartialOrd<AllValues> for AllValues[src]

impl StructuralEq for AllValues[src]

impl StructuralPartialEq for AllValues[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> 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>, 

impl<T> WithSubscriber for T[src]