pub struct NeoSignature {
pub bytes: [u8; 64],
}Expand description
A NEO ECDSA signature (64 bytes, r || s).
Fields§
§bytes: [u8; 64]64 bytes: r (32) || s (32).
Implementations§
Source§impl NeoSignature
impl NeoSignature
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<Self, SignerError>
pub fn from_bytes(bytes: &[u8]) -> Result<Self, SignerError>
Import from 64 bytes.
Trait Implementations§
Source§impl Clone for NeoSignature
impl Clone for NeoSignature
Source§fn clone(&self) -> NeoSignature
fn clone(&self) -> NeoSignature
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 Debug for NeoSignature
impl Debug for NeoSignature
Source§impl Display for NeoSignature
impl Display for NeoSignature
Source§impl PartialEq for NeoSignature
impl PartialEq for NeoSignature
impl Eq for NeoSignature
impl StructuralPartialEq for NeoSignature
Auto Trait Implementations§
impl Freeze for NeoSignature
impl RefUnwindSafe for NeoSignature
impl Send for NeoSignature
impl Sync for NeoSignature
impl Unpin for NeoSignature
impl UnsafeUnpin for NeoSignature
impl UnwindSafe for NeoSignature
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