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

#[repr(i32)]pub enum GroupResourceType {
    ResourceTypeUnspecified,
    Instance,
    AwsElbLoadBalancer,
}

The supported resource types that can be used as values of group_resource.resource_type. INSTANCE includes gce_instance and aws_ec2_instance resource types. The resource types gae_app and uptime_url are not valid here because group checks on App Engine modules and URLs are not allowed.

Variants

ResourceTypeUnspecified

Default value (not valid).

Instance

A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS).

AwsElbLoadBalancer

A group of Amazon ELB load balancers.

Implementations

impl GroupResourceType[src]

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

Returns true if value is a variant of GroupResourceType.

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

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

Trait Implementations

impl Clone for GroupResourceType[src]

impl Copy for GroupResourceType[src]

impl Debug for GroupResourceType[src]

impl Default for GroupResourceType[src]

impl Eq for GroupResourceType[src]

impl From<GroupResourceType> for i32[src]

impl Hash for GroupResourceType[src]

impl Ord for GroupResourceType[src]

impl PartialEq<GroupResourceType> for GroupResourceType[src]

impl PartialOrd<GroupResourceType> for GroupResourceType[src]

impl StructuralEq for GroupResourceType[src]

impl StructuralPartialEq for GroupResourceType[src]

Auto Trait Implementations

impl RefUnwindSafe for GroupResourceType

impl Send for GroupResourceType

impl Sync for GroupResourceType

impl Unpin for GroupResourceType

impl UnwindSafe for GroupResourceType

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]