[−][src]Struct google_clouderrorreporting1_beta1::ServiceContext
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.
This type is not used in any activity, and only used as part of another schema.
Fields
resource_type: Option<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.
version: Option<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.
service: Option<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.
Trait Implementations
impl Part for ServiceContext
[src]
impl Clone for ServiceContext
[src]
fn clone(&self) -> ServiceContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ServiceContext
[src]
fn default() -> ServiceContext
[src]
impl Debug for ServiceContext
[src]
impl Serialize for ServiceContext
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ServiceContext
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ServiceContext
impl Sync for ServiceContext
impl Unpin for ServiceContext
impl UnwindSafe for ServiceContext
impl RefUnwindSafe for ServiceContext
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,