Struct wasmcloud_actor_http_server::generated::Request[][src]

pub struct Request {
    pub method: String,
    pub path: String,
    pub query_string: String,
    pub header: HashMap<String, String>,
    pub body: Vec<u8>,
}

HTTP Request object

Fields

method: Stringpath: Stringquery_string: Stringheader: HashMap<String, String>body: Vec<u8>

Implementations

impl Request[src]

pub fn path_segments(&self) -> Vec<&str>[src]

pub fn method(&self) -> Method[src]

Trait Implementations

impl Clone for Request[src]

impl Debug for Request[src]

impl Default for Request[src]

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

impl PartialEq<Request> for Request[src]

impl Serialize for Request[src]

impl StructuralPartialEq for Request[src]

Auto Trait Implementations

impl RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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 = 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.