pub struct Key {
pub type_value: u8,
pub key: Vec<u8>,
}Expand description
A PSET key in its raw byte form.
Fields§
§type_value: u8The type of this PSET key.
key: Vec<u8>The key itself in raw byte form.
Implementations§
Source§impl Key
impl Key
Sourcepub fn from_pset_key(subtype: ProprietaryType, key: Vec<u8>) -> Self
pub fn from_pset_key(subtype: ProprietaryType, key: Vec<u8>) -> Self
Helper to create a raw key from pset proprietary key components
Trait Implementations§
Source§impl Ord for Key
impl Ord for Key
Source§impl PartialOrd for Key
impl PartialOrd for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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