pub struct EncodedTextKey<'a> { /* private fields */ }Expand description
A validated canonical CBOR-encoded text-string key.
This wraps the exact canonical encoding bytes for a CBOR text string.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for EncodedTextKey<'_>
impl AsRef<[u8]> for EncodedTextKey<'_>
Source§impl<'a> Clone for EncodedTextKey<'a>
impl<'a> Clone for EncodedTextKey<'a>
Source§fn clone(&self) -> EncodedTextKey<'a>
fn clone(&self) -> EncodedTextKey<'a>
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<'a> Debug for EncodedTextKey<'a>
impl<'a> Debug for EncodedTextKey<'a>
Source§impl<'a> PartialEq for EncodedTextKey<'a>
impl<'a> PartialEq for EncodedTextKey<'a>
impl<'a> Copy for EncodedTextKey<'a>
impl<'a> Eq for EncodedTextKey<'a>
impl<'a> StructuralPartialEq for EncodedTextKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncodedTextKey<'a>
impl<'a> RefUnwindSafe for EncodedTextKey<'a>
impl<'a> Send for EncodedTextKey<'a>
impl<'a> Sync for EncodedTextKey<'a>
impl<'a> Unpin for EncodedTextKey<'a>
impl<'a> UnsafeUnpin for EncodedTextKey<'a>
impl<'a> UnwindSafe for EncodedTextKey<'a>
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