Enum gapi_grpc::google::monitoring::v3::UptimeCheckRegion[][src]

#[repr(i32)]pub enum UptimeCheckRegion {
    RegionUnspecified,
    Usa,
    Europe,
    SouthAmerica,
    AsiaPacific,
}

The regions from which an Uptime check can be run.

Variants

RegionUnspecified

Default value if no region is specified. Will result in Uptime checks running from all regions.

Usa

Allows checks to run from locations within the United States of America.

Europe

Allows checks to run from locations within the continent of Europe.

SouthAmerica

Allows checks to run from locations within the continent of South America.

AsiaPacific

Allows checks to run from locations within the Asia Pacific area (ex: Singapore).

Implementations

impl UptimeCheckRegion[src]

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

Returns true if value is a variant of UptimeCheckRegion.

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

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

Trait Implementations

impl Clone for UptimeCheckRegion[src]

impl Copy for UptimeCheckRegion[src]

impl Debug for UptimeCheckRegion[src]

impl Default for UptimeCheckRegion[src]

impl Eq for UptimeCheckRegion[src]

impl From<UptimeCheckRegion> for i32[src]

impl Hash for UptimeCheckRegion[src]

impl Ord for UptimeCheckRegion[src]

impl PartialEq<UptimeCheckRegion> for UptimeCheckRegion[src]

impl PartialOrd<UptimeCheckRegion> for UptimeCheckRegion[src]

impl StructuralEq for UptimeCheckRegion[src]

impl StructuralPartialEq for UptimeCheckRegion[src]

Auto Trait Implementations

impl RefUnwindSafe for UptimeCheckRegion

impl Send for UptimeCheckRegion

impl Sync for UptimeCheckRegion

impl Unpin for UptimeCheckRegion

impl UnwindSafe for UptimeCheckRegion

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]