Struct gapi_grpc::google::cloud::apigeeconnect::v1::HttpResponse[][src]

pub struct HttpResponse {
    pub id: String,
    pub status: String,
    pub status_code: i32,
    pub body: Vec<u8>,
    pub headers: Vec<Header>,
    pub content_length: i64,
}

The proto definition of http response.

Fields

id: String

A unique identifier that matches the request ID.

status: String

Status of http response, e.g. “200 OK”.

status_code: i32

Status code of http response, e.g. 200.

body: Vec<u8>

The HTTP 1.1 response body.

headers: Vec<Header>

The HTTP response headers.

content_length: i64

Content length records the length of the associated content. The value -1 indicates that the length is unknown. Unless http method is “HEAD”, values >= 0 indicate that the given number of bytes may be read from Body.

Trait Implementations

impl Clone for HttpResponse[src]

impl Debug for HttpResponse[src]

impl Default for HttpResponse[src]

impl Message for HttpResponse[src]

impl PartialEq<HttpResponse> for HttpResponse[src]

impl StructuralPartialEq for HttpResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for HttpResponse

impl Send for HttpResponse

impl Sync for HttpResponse

impl Unpin for HttpResponse

impl UnwindSafe for HttpResponse

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]