pub struct HttpStreamStartResponse {
pub handle: u64,
pub status: u16,
pub headers: Vec<KeyValuePair>,
}Expand description
HTTP streaming response metadata returned on stream start.
Fields§
§handle: u64Opaque handle for subsequent read/close calls.
status: u16HTTP status code.
headers: Vec<KeyValuePair>Response headers.
Trait Implementations§
Source§impl Clone for HttpStreamStartResponse
impl Clone for HttpStreamStartResponse
Source§fn clone(&self) -> HttpStreamStartResponse
fn clone(&self) -> HttpStreamStartResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpStreamStartResponse
impl Debug for HttpStreamStartResponse
Source§impl<'de> Deserialize<'de> for HttpStreamStartResponse
impl<'de> Deserialize<'de> for HttpStreamStartResponse
Source§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
Source§impl PartialEq for HttpStreamStartResponse
impl PartialEq for HttpStreamStartResponse
Source§impl Serialize for HttpStreamStartResponse
impl Serialize for HttpStreamStartResponse
impl StructuralPartialEq for HttpStreamStartResponse
Auto Trait Implementations§
impl Freeze for HttpStreamStartResponse
impl RefUnwindSafe for HttpStreamStartResponse
impl Send for HttpStreamStartResponse
impl Sync for HttpStreamStartResponse
impl Unpin for HttpStreamStartResponse
impl UnsafeUnpin for HttpStreamStartResponse
impl UnwindSafe for HttpStreamStartResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more