pub struct NoteSignature {
pub key_name: String,
pub algorithm: u8,
pub key_id: [u8; 4],
pub signature: Vec<u8>,
}Expand description
A parsed signature from a signed note.
Fields§
§key_name: StringThe signer’s key name.
algorithm: u8Algorithm byte (0x01 for Ed25519).
key_id: [u8; 4]4-byte key ID.
signature: Vec<u8>Raw signature bytes.
Trait Implementations§
Source§impl Clone for NoteSignature
impl Clone for NoteSignature
Source§fn clone(&self) -> NoteSignature
fn clone(&self) -> NoteSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NoteSignature
impl RefUnwindSafe for NoteSignature
impl Send for NoteSignature
impl Sync for NoteSignature
impl Unpin for NoteSignature
impl UnsafeUnpin for NoteSignature
impl UnwindSafe for NoteSignature
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