pub struct NoteSignature {
pub name: String,
pub key_id: [u8; 4],
pub payload: Vec<u8>,
}Expand description
One signature line of a note.
Fields§
§name: StringThe key name on the line.
key_id: [u8; 4]The first four bytes of the decoded payload.
payload: Vec<u8>The rest of the payload: the signature, or for a cosignature the timestamp and the signature.
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 moreSource§impl Debug for NoteSignature
impl Debug for NoteSignature
Source§impl PartialEq for NoteSignature
impl PartialEq for NoteSignature
Source§fn eq(&self, other: &NoteSignature) -> bool
fn eq(&self, other: &NoteSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NoteSignature
impl StructuralPartialEq for NoteSignature
Auto 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