Enum gapi_grpc::google::monitoring::v3::uptime_check_config::content_matcher::ContentMatcherOption[][src]

#[repr(i32)]pub enum ContentMatcherOption {
    Unspecified,
    ContainsString,
    NotContainsString,
    MatchesRegex,
    NotMatchesRegex,
}

Options to perform content matching.

Variants

Unspecified

No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING.

ContainsString

Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED.

NotContainsString

Selects negation of substring matching. The match succeeds if the output does NOT contain the content string.

MatchesRegex

Selects regular-expression matching. The match succeeds of the output matches the regular expression specified in the content string.

NotMatchesRegex

Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string.

Implementations

impl ContentMatcherOption[src]

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

Returns true if value is a variant of ContentMatcherOption.

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

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

Trait Implementations

impl Clone for ContentMatcherOption[src]

impl Copy for ContentMatcherOption[src]

impl Debug for ContentMatcherOption[src]

impl Default for ContentMatcherOption[src]

impl Eq for ContentMatcherOption[src]

impl From<ContentMatcherOption> for i32[src]

impl Hash for ContentMatcherOption[src]

impl Ord for ContentMatcherOption[src]

impl PartialEq<ContentMatcherOption> for ContentMatcherOption[src]

impl PartialOrd<ContentMatcherOption> for ContentMatcherOption[src]

impl StructuralEq for ContentMatcherOption[src]

impl StructuralPartialEq for ContentMatcherOption[src]

Auto Trait Implementations

impl RefUnwindSafe for ContentMatcherOption

impl Send for ContentMatcherOption

impl Sync for ContentMatcherOption

impl Unpin for ContentMatcherOption

impl UnwindSafe for ContentMatcherOption

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]