pub struct Http2Response {
pub status: u16,
pub version: Version,
pub headers: Vec<HttpHeader>,
pub stream_id: u32,
pub parsing_metadata: ParsingMetadata,
pub frame_sequence: Vec<Http2FrameType>,
pub server: Option<String>,
pub content_type: Option<String>,
}
Fields§
§status: u16
§version: Version
§headers: Vec<HttpHeader>
§stream_id: u32
§parsing_metadata: ParsingMetadata
§frame_sequence: Vec<Http2FrameType>
§server: Option<String>
§content_type: Option<String>
Trait Implementations§
Source§impl Clone for Http2Response
impl Clone for Http2Response
Source§fn clone(&self) -> Http2Response
fn clone(&self) -> Http2Response
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 moreAuto Trait Implementations§
impl Freeze for Http2Response
impl RefUnwindSafe for Http2Response
impl Send for Http2Response
impl Sync for Http2Response
impl Unpin for Http2Response
impl UnwindSafe for Http2Response
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