pub struct Http2Stream {
pub stream_id: u32,
pub headers: Vec<HttpHeader>,
pub method: Option<String>,
pub path: Option<String>,
pub authority: Option<String>,
pub scheme: Option<String>,
pub status: Option<u16>,
}
Fields§
§stream_id: u32
§headers: Vec<HttpHeader>
§method: Option<String>
§path: Option<String>
§scheme: Option<String>
§status: Option<u16>
Trait Implementations§
Source§impl Clone for Http2Stream
impl Clone for Http2Stream
Source§fn clone(&self) -> Http2Stream
fn clone(&self) -> Http2Stream
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 Http2Stream
impl RefUnwindSafe for Http2Stream
impl Send for Http2Stream
impl Sync for Http2Stream
impl Unpin for Http2Stream
impl UnwindSafe for Http2Stream
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