Struct gapi_grpc::google::devtools::clouderrorreporting::v1beta1::ServiceContext[][src]

pub struct ServiceContext {
    pub service: String,
    pub version: String,
    pub resource_type: String,
}

Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.

Fields

service: String

An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to version, which can be changed whenever new code is deployed.

Contains the service name for error reports extracted from Google App Engine logs or default if the App Engine default service is used.

version: String

Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app.

resource_type: String

Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources

Value is set automatically for incoming errors and must not be set when reporting errors.

Trait Implementations

impl Clone for ServiceContext[src]

impl Debug for ServiceContext[src]

impl Default for ServiceContext[src]

impl Message for ServiceContext[src]

impl PartialEq<ServiceContext> for ServiceContext[src]

impl StructuralPartialEq for ServiceContext[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceContext

impl Send for ServiceContext

impl Sync for ServiceContext

impl Unpin for ServiceContext

impl UnwindSafe for ServiceContext

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<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]