Struct ic_utils::interfaces::http_request::HttpResponse [−][src]
pub struct HttpResponse {
pub status_code: u16,
pub headers: Vec<HeaderField>,
pub body: Vec<u8>,
pub streaming_strategy: Option<StreamingStrategy>,
}Fields
status_code: u16headers: Vec<HeaderField>body: Vec<u8>streaming_strategy: Option<StreamingStrategy>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for HttpResponseimpl Send for HttpResponseimpl Sync for HttpResponseimpl Unpin for HttpResponseimpl UnwindSafe for HttpResponse