[][src]Struct google_clouderrorreporting1_beta1::SourceLocation

pub struct SourceLocation {
    pub file_path: Option<String>,
    pub function_name: Option<String>,
    pub line_number: Option<i32>,
}

Indicates a location in the source code of the service for which errors are reported. functionName must be provided by the application when reporting an error, unless the error report contains a message with a supported exception stack trace. All fields are optional for the later case.

This type is not used in any activity, and only used as part of another schema.

Fields

file_path: Option<String>

The source code filename, which can include a truncated relative path, or a full path from a production machine.

function_name: Option<String>

Human-readable name of a function or method. The value can include optional context like the class or package name. For example, my.package.MyClass.method in case of Java.

line_number: Option<i32>

1-based. 0 indicates that the line number is unknown.

Trait Implementations

impl Part for SourceLocation[src]

impl Clone for SourceLocation[src]

impl Default for SourceLocation[src]

impl Debug for SourceLocation[src]

impl Serialize for SourceLocation[src]

impl<'de> Deserialize<'de> for SourceLocation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]