Struct embedded_svc::httpd::Response[][src]

pub struct Response {
    pub status: u16,
    pub status_message: Option<String>,
    pub headers: BTreeMap<String, String>,
    pub body: Body,
    pub new_session_state: Option<SessionState>,
}

Fields

status: u16status_message: Option<String>headers: BTreeMap<String, String>body: Bodynew_session_state: Option<SessionState>

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.