pub struct SolanaSignature {
pub bytes: [u8; 64],
}Expand description
A Solana Ed25519 signature (64 bytes).
Fields§
§bytes: [u8; 64]The 64-byte Ed25519 signature.
Implementations§
Source§impl SolanaSignature
impl SolanaSignature
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 SolanaSignature
impl Clone for SolanaSignature
Source§fn clone(&self) -> SolanaSignature
fn clone(&self) -> SolanaSignature
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 SolanaSignature
impl Debug for SolanaSignature
Source§impl Display for SolanaSignature
impl Display for SolanaSignature
Source§impl PartialEq for SolanaSignature
impl PartialEq for SolanaSignature
impl Eq for SolanaSignature
impl StructuralPartialEq for SolanaSignature
Auto Trait Implementations§
impl Freeze for SolanaSignature
impl RefUnwindSafe for SolanaSignature
impl Send for SolanaSignature
impl Sync for SolanaSignature
impl Unpin for SolanaSignature
impl UnsafeUnpin for SolanaSignature
impl UnwindSafe for SolanaSignature
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