Enum gapi_grpc::google::devtools::cloudbuild::v1::build_options::SubstitutionOption[][src]

[]
#[repr(i32)]pub enum SubstitutionOption {
    MustMatch,
    AllowLoose,
}
[]

Specifies the behavior when there is an error in the substitution checks.

Variants

MustMatch
[]

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

AllowLoose
[]

Do not fail the build if error in substitutions checks.

Implementations

impl SubstitutionOption[src][]

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

Returns true if value is a variant of SubstitutionOption.

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

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

Trait Implementations

impl Clone for SubstitutionOption[src][+]

impl Copy for SubstitutionOption[src]

impl Debug for SubstitutionOption[src][+]

impl Default for SubstitutionOption[src][+]

impl Eq for SubstitutionOption[src]

impl From<SubstitutionOption> for i32[src][+]

impl Hash for SubstitutionOption[src][+]

impl Ord for SubstitutionOption[src][+]

impl PartialEq<SubstitutionOption> for SubstitutionOption[src][+]

impl PartialOrd<SubstitutionOption> for SubstitutionOption[src][+]

impl StructuralEq for SubstitutionOption[src]

impl StructuralPartialEq for SubstitutionOption[src]

Auto Trait Implementations

impl RefUnwindSafe for SubstitutionOption

impl Send for SubstitutionOption

impl Sync for SubstitutionOption

impl Unpin for SubstitutionOption

impl UnwindSafe for SubstitutionOption

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> 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][+]