pub struct HeaderKeyId(/* private fields */);Expand description
Header key identifier - represents a header name in RPC messages
Header keys are hashed from their names (e.g., “trace_id”, “request_id”)
Implementations§
Trait Implementations§
Source§impl Clone for HeaderKeyId
impl Clone for HeaderKeyId
Source§fn clone(&self) -> HeaderKeyId
fn clone(&self) -> HeaderKeyId
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 HeaderKeyId
impl Debug for HeaderKeyId
Source§impl<'de> Deserialize<'de> for HeaderKeyId
impl<'de> Deserialize<'de> for HeaderKeyId
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 Display for HeaderKeyId
impl Display for HeaderKeyId
Source§impl From<HeaderKeyId> for u32
impl From<HeaderKeyId> for u32
Source§fn from(id: HeaderKeyId) -> u32
fn from(id: HeaderKeyId) -> u32
Converts to this type from the input type.
Source§impl From<u32> for HeaderKeyId
impl From<u32> for HeaderKeyId
Source§fn from(id: u32) -> HeaderKeyId
fn from(id: u32) -> HeaderKeyId
Converts to this type from the input type.
Source§impl Hash for HeaderKeyId
impl Hash for HeaderKeyId
Source§impl Ord for HeaderKeyId
impl Ord for HeaderKeyId
Source§fn cmp(&self, other: &HeaderKeyId) -> Ordering
fn cmp(&self, other: &HeaderKeyId) -> Ordering
1.21.0 · 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 HeaderKeyId
impl PartialEq for HeaderKeyId
Source§impl PartialOrd for HeaderKeyId
impl PartialOrd for HeaderKeyId
Source§impl Serialize for HeaderKeyId
impl Serialize for HeaderKeyId
impl Copy for HeaderKeyId
impl Eq for HeaderKeyId
impl StructuralPartialEq for HeaderKeyId
Auto Trait Implementations§
impl Freeze for HeaderKeyId
impl RefUnwindSafe for HeaderKeyId
impl Send for HeaderKeyId
impl Sync for HeaderKeyId
impl Unpin for HeaderKeyId
impl UnsafeUnpin for HeaderKeyId
impl UnwindSafe for HeaderKeyId
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