pub struct HttpStreamConfig {
pub kind: Option<HttpStreamKind>,
pub codec: HttpStreamCodec,
}Fields§
§kind: Option<HttpStreamKind>§codec: HttpStreamCodecTrait Implementations§
Source§impl Clone for HttpStreamConfig
impl Clone for HttpStreamConfig
Source§fn clone(&self) -> HttpStreamConfig
fn clone(&self) -> HttpStreamConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpStreamConfig
impl Debug for HttpStreamConfig
Source§impl<'de> Deserialize<'de> for HttpStreamConfig
impl<'de> Deserialize<'de> for HttpStreamConfig
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 HttpStreamConfig
impl PartialEq for HttpStreamConfig
Source§fn eq(&self, other: &HttpStreamConfig) -> bool
fn eq(&self, other: &HttpStreamConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpStreamConfig
impl Serialize for HttpStreamConfig
impl Copy for HttpStreamConfig
impl Eq for HttpStreamConfig
impl StructuralPartialEq for HttpStreamConfig
Auto Trait Implementations§
impl Freeze for HttpStreamConfig
impl RefUnwindSafe for HttpStreamConfig
impl Send for HttpStreamConfig
impl Sync for HttpStreamConfig
impl Unpin for HttpStreamConfig
impl UnsafeUnpin for HttpStreamConfig
impl UnwindSafe for HttpStreamConfig
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