pub struct EncodingKey {
pub schema_encoding: SchemaEncoding,
pub message_encoding: MessageEncoding,
}Expand description
Key identifying a (schema_encoding, message_encoding) pair.
Fields§
§schema_encoding: SchemaEncoding§message_encoding: MessageEncodingImplementations§
Source§impl EncodingKey
impl EncodingKey
pub fn new( schema_encoding: SchemaEncoding, message_encoding: MessageEncoding, ) -> Self
Trait Implementations§
Source§impl Clone for EncodingKey
impl Clone for EncodingKey
Source§fn clone(&self) -> EncodingKey
fn clone(&self) -> EncodingKey
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 EncodingKey
impl Debug for EncodingKey
Source§impl Hash for EncodingKey
impl Hash for EncodingKey
Source§impl PartialEq for EncodingKey
impl PartialEq for EncodingKey
impl Eq for EncodingKey
impl StructuralPartialEq for EncodingKey
Auto Trait Implementations§
impl Freeze for EncodingKey
impl RefUnwindSafe for EncodingKey
impl Send for EncodingKey
impl Sync for EncodingKey
impl Unpin for EncodingKey
impl UnsafeUnpin for EncodingKey
impl UnwindSafe for EncodingKey
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