Enum google_api_proto::google::cloud::networkanalyzer::logging::v1::report::ReportGroup
source · #[repr(i32)]pub enum ReportGroup {
CategoryUnspecified = 0,
VpcNetwork = 1,
NetworkServices = 2,
KubernetesEngine = 3,
HybridConnectivity = 4,
ManagedServices = 5,
}
Expand description
Groups of an report.
Variants§
CategoryUnspecified = 0
VpcNetwork = 1
NetworkServices = 2
KubernetesEngine = 3
HybridConnectivity = 4
ManagedServices = 5
Implementations§
source§impl ReportGroup
impl ReportGroup
source§impl ReportGroup
impl ReportGroup
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 ReportGroup
impl Clone for ReportGroup
source§fn clone(&self) -> ReportGroup
fn clone(&self) -> ReportGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReportGroup
impl Debug for ReportGroup
source§impl Default for ReportGroup
impl Default for ReportGroup
source§fn default() -> ReportGroup
fn default() -> ReportGroup
Returns the “default value” for a type. Read more
source§impl From<ReportGroup> for i32
impl From<ReportGroup> for i32
source§fn from(value: ReportGroup) -> i32
fn from(value: ReportGroup) -> i32
Converts to this type from the input type.
source§impl Hash for ReportGroup
impl Hash for ReportGroup
source§impl Ord for ReportGroup
impl Ord for ReportGroup
source§fn cmp(&self, other: &ReportGroup) -> Ordering
fn cmp(&self, other: &ReportGroup) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ReportGroup
impl PartialEq for ReportGroup
source§fn eq(&self, other: &ReportGroup) -> bool
fn eq(&self, other: &ReportGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReportGroup
impl PartialOrd for ReportGroup
source§fn partial_cmp(&self, other: &ReportGroup) -> Option<Ordering>
fn partial_cmp(&self, other: &ReportGroup) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ReportGroup
impl TryFrom<i32> for ReportGroup
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<ReportGroup, UnknownEnumValue>
fn try_from(value: i32) -> Result<ReportGroup, UnknownEnumValue>
Performs the conversion.
impl Copy for ReportGroup
impl Eq for ReportGroup
impl StructuralPartialEq for ReportGroup
Auto Trait Implementations§
impl Freeze for ReportGroup
impl RefUnwindSafe for ReportGroup
impl Send for ReportGroup
impl Sync for ReportGroup
impl Unpin for ReportGroup
impl UnwindSafe for ReportGroup
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
Mutably borrows from an owned value. Read more
§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
Compare self to
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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>
Wrap the input message
T
in a tonic::Request