pub struct KeyHint(/* private fields */);Expand description
Key hint for checkpoint signature identification (4 bytes)
The key hint is the first 4 bytes of SHA-256(public_key_der). It is used in signed notes/checkpoints to match signatures to public keys.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyHint
impl<'de> Deserialize<'de> for KeyHint
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
impl Copy for KeyHint
impl Eq for KeyHint
impl StructuralPartialEq for KeyHint
Auto Trait Implementations§
impl Freeze for KeyHint
impl RefUnwindSafe for KeyHint
impl Send for KeyHint
impl Sync for KeyHint
impl Unpin for KeyHint
impl UnsafeUnpin for KeyHint
impl UnwindSafe for KeyHint
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<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)