[][src]Struct google_clouderrorreporting1_beta1::HttpRequestContext

pub struct HttpRequestContext {
    pub response_status_code: Option<i32>,
    pub remote_ip: Option<String>,
    pub user_agent: Option<String>,
    pub url: Option<String>,
    pub referrer: Option<String>,
    pub method: Option<String>,
}

HTTP request data that is related to a reported error. 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.

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

Fields

response_status_code: Option<i32>

The HTTP response status code for the request.

remote_ip: Option<String>

The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.

user_agent: Option<String>

The user agent information that is provided with the request.

url: Option<String>

The URL of the request.

referrer: Option<String>

The referrer information that is provided with the request.

method: Option<String>

The type of HTTP request, such as GET, POST, etc.

Trait Implementations

impl Part for HttpRequestContext[src]

impl Default for HttpRequestContext[src]

impl Clone for HttpRequestContext[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for HttpRequestContext[src]

impl Serialize for HttpRequestContext[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> Borrow<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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