Enum google_api_proto::google::monitoring::v3::service::Identifier
source · pub enum Identifier {
Custom(Custom),
AppEngine(AppEngine),
CloudEndpoints(CloudEndpoints),
ClusterIstio(ClusterIstio),
MeshIstio(MeshIstio),
IstioCanonicalService(IstioCanonicalService),
CloudRun(CloudRun),
GkeNamespace(GkeNamespace),
GkeWorkload(GkeWorkload),
GkeService(GkeService),
}
Expand description
REQUIRED. Service-identifying atoms specifying the underlying service.
Variants§
Custom(Custom)
Custom service type.
AppEngine(AppEngine)
Type used for App Engine services.
CloudEndpoints(CloudEndpoints)
Type used for Cloud Endpoints services.
ClusterIstio(ClusterIstio)
Type used for Istio services that live in a Kubernetes cluster.
MeshIstio(MeshIstio)
Type used for Istio services scoped to an Istio mesh.
IstioCanonicalService(IstioCanonicalService)
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
CloudRun(CloudRun)
Type used for Cloud Run services.
GkeNamespace(GkeNamespace)
Type used for GKE Namespaces.
GkeWorkload(GkeWorkload)
Type used for GKE Workloads.
GkeService(GkeService)
Type used for GKE Services (the Kubernetes concept of a service).
Implementations§
source§impl Identifier
impl Identifier
sourcepub fn merge(
field: &mut Option<Identifier>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Identifier>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for Identifier
impl Clone for Identifier
source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
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 Identifier
impl Debug for Identifier
source§impl PartialEq for Identifier
impl PartialEq for Identifier
source§fn eq(&self, other: &Identifier) -> bool
fn eq(&self, other: &Identifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Identifier
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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<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