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

pub struct HttpRequest {
    pub id: String,
    pub method: String,
    pub url: Option<Url>,
    pub headers: Vec<Header>,
    pub body: Vec<u8>,
}

The proto definition of http request.

Fields

id: String

A unique identifier for the request.

method: String

The HTTP request method. Valid methods: “GET”, “HEAD”, “POST”, “PUT”, “PATCH”,“DELETE”.

url: Option<Url>

The HTTP request URL.

headers: Vec<Header>

The HTTP request headers.

body: Vec<u8>

HTTP request body.

Trait Implementations

impl Clone for HttpRequest[src]

impl Debug for HttpRequest[src]

impl Default for HttpRequest[src]

impl Message for HttpRequest[src]

impl PartialEq<HttpRequest> for HttpRequest[src]

impl StructuralPartialEq for HttpRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for HttpRequest

impl Send for HttpRequest

impl Sync for HttpRequest

impl Unpin for HttpRequest

impl UnwindSafe for HttpRequest

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]