pub struct ProtocolStreamKey {
pub stream_id: String,
pub protocol: String,
pub protocol_version: String,
}Expand description
Protocol stream selection.
Fields§
§stream_id: String§protocol: String§protocol_version: StringImplementations§
Trait Implementations§
Source§impl Clone for ProtocolStreamKey
impl Clone for ProtocolStreamKey
Source§fn clone(&self) -> ProtocolStreamKey
fn clone(&self) -> ProtocolStreamKey
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 ProtocolStreamKey
impl Debug for ProtocolStreamKey
Source§impl<'de> Deserialize<'de> for ProtocolStreamKey
impl<'de> Deserialize<'de> for ProtocolStreamKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProtocolStreamKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProtocolStreamKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProtocolStreamKey
Source§impl Hash for ProtocolStreamKey
impl Hash for ProtocolStreamKey
Source§impl Ord for ProtocolStreamKey
impl Ord for ProtocolStreamKey
Source§fn cmp(&self, other: &ProtocolStreamKey) -> Ordering
fn cmp(&self, other: &ProtocolStreamKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProtocolStreamKey
impl PartialEq for ProtocolStreamKey
Source§fn eq(&self, other: &ProtocolStreamKey) -> bool
fn eq(&self, other: &ProtocolStreamKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProtocolStreamKey
impl PartialOrd for ProtocolStreamKey
Source§impl Serialize for ProtocolStreamKey
impl Serialize for ProtocolStreamKey
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProtocolStreamKey
Auto Trait Implementations§
impl Freeze for ProtocolStreamKey
impl RefUnwindSafe for ProtocolStreamKey
impl Send for ProtocolStreamKey
impl Sync for ProtocolStreamKey
impl Unpin for ProtocolStreamKey
impl UnsafeUnpin for ProtocolStreamKey
impl UnwindSafe for ProtocolStreamKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<B, K> ContainerWithHash<B> for K
impl<B, K> ContainerWithHash<B> for K
fn as_dyn_hash(&self) -> &(dyn DynHash + 'static)
fn as_container(&self) -> &<B as Bounds>::Container
fn as_mut_container(&mut self) -> &mut <B as Bounds>::Container
fn into_box_container(self: Box<K>) -> Box<<B as Bounds>::Container>
impl<B, K> ContainerWithHashAndClone<B> for K
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.