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

pub struct ErrorContext {
    pub http_request: Option<HttpRequestContext>,
    pub user: String,
    pub report_location: Option<SourceLocation>,
}

A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

Fields

http_request: Option<HttpRequestContext>

The HTTP request which was processed when the error was triggered.

user: String

The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See affected_users_count in ErrorGroupStats.

report_location: Option<SourceLocation>

The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught.

Trait Implementations

impl Clone for ErrorContext[src]

impl Debug for ErrorContext[src]

impl Default for ErrorContext[src]

impl Message for ErrorContext[src]

impl PartialEq<ErrorContext> for ErrorContext[src]

impl StructuralPartialEq for ErrorContext[src]

Auto Trait Implementations

impl RefUnwindSafe for ErrorContext

impl Send for ErrorContext

impl Sync for ErrorContext

impl Unpin for ErrorContext

impl UnwindSafe for ErrorContext

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]