pub struct TransportHttpConfig {
pub versions: Vec<HttpVersion>,
}Expand description
HTTP version settings.
Fields§
§versions: Vec<HttpVersion>Enabled HTTP protocol versions.
Trait Implementations§
Source§impl Clone for TransportHttpConfig
impl Clone for TransportHttpConfig
Source§fn clone(&self) -> TransportHttpConfig
fn clone(&self) -> TransportHttpConfig
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 TransportHttpConfig
impl Debug for TransportHttpConfig
Source§impl PartialEq for TransportHttpConfig
impl PartialEq for TransportHttpConfig
Source§impl Serialize for TransportHttpConfig
impl Serialize for TransportHttpConfig
impl Eq for TransportHttpConfig
impl StructuralPartialEq for TransportHttpConfig
Auto Trait Implementations§
impl Freeze for TransportHttpConfig
impl RefUnwindSafe for TransportHttpConfig
impl Send for TransportHttpConfig
impl Sync for TransportHttpConfig
impl Unpin for TransportHttpConfig
impl UnsafeUnpin for TransportHttpConfig
impl UnwindSafe for TransportHttpConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.