[][src]Struct google_monitoring3::ContentMatcher

pub struct ContentMatcher {
    pub content: Option<String>,
    pub matcher: Option<String>,
}

Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching.

This type is not used in any activity, and only used as part of another schema.

Fields

content: Option<String>

String or regex content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.

matcher: Option<String>

The type of content matcher that will be applied to the server output, compared to the content string when the check is run.

Trait Implementations

impl Clone for ContentMatcher[src]

impl Debug for ContentMatcher[src]

impl Default for ContentMatcher[src]

impl<'de> Deserialize<'de> for ContentMatcher[src]

impl Part for ContentMatcher[src]

impl Serialize for ContentMatcher[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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any