Enum google_api_proto::google::monitoring::v3::ServiceTier
source · #[repr(i32)]pub enum ServiceTier {
Unspecified = 0,
Basic = 1,
Premium = 2,
}
Expand description
The tier of service for a Metrics Scope. Please see the service tiers documentation for more details.
Variants§
Unspecified = 0
An invalid sentinel value, used to indicate that a tier has not been provided explicitly.
Basic = 1
The Cloud Monitoring Basic tier, a free tier of service that provides basic features, a moderate allotment of logs, and access to built-in metrics. A number of features are not available in this tier. For more details, see the service tiers documentation.
Premium = 2
The Cloud Monitoring Premium tier, a higher, more expensive tier of service that provides access to all Cloud Monitoring features, lets you use Cloud Monitoring with AWS accounts, and has a larger allotments for logs and metrics. For more details, see the service tiers documentation.
Implementations§
source§impl ServiceTier
impl ServiceTier
source§impl ServiceTier
impl ServiceTier
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ServiceTier
impl Clone for ServiceTier
source§fn clone(&self) -> ServiceTier
fn clone(&self) -> ServiceTier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceTier
impl Debug for ServiceTier
source§impl Default for ServiceTier
impl Default for ServiceTier
source§fn default() -> ServiceTier
fn default() -> ServiceTier
source§impl From<ServiceTier> for i32
impl From<ServiceTier> for i32
source§fn from(value: ServiceTier) -> i32
fn from(value: ServiceTier) -> i32
source§impl Hash for ServiceTier
impl Hash for ServiceTier
source§impl Ord for ServiceTier
impl Ord for ServiceTier
source§fn cmp(&self, other: &ServiceTier) -> Ordering
fn cmp(&self, other: &ServiceTier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ServiceTier
impl PartialEq for ServiceTier
source§fn eq(&self, other: &ServiceTier) -> bool
fn eq(&self, other: &ServiceTier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ServiceTier
impl PartialOrd for ServiceTier
source§fn partial_cmp(&self, other: &ServiceTier) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceTier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ServiceTier
impl TryFrom<i32> for ServiceTier
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ServiceTier, UnknownEnumValue>
fn try_from(value: i32) -> Result<ServiceTier, UnknownEnumValue>
impl Copy for ServiceTier
impl Eq for ServiceTier
impl StructuralPartialEq for ServiceTier
Auto Trait Implementations§
impl Freeze for ServiceTier
impl RefUnwindSafe for ServiceTier
impl Send for ServiceTier
impl Sync for ServiceTier
impl Unpin for ServiceTier
impl UnwindSafe for ServiceTier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request