pub struct SignatureDto(pub [u8; 64]);
Expand description
Signature.
Tuple Fields§
§0: [u8; 64]
Implementations§
Source§impl SignatureDto
impl SignatureDto
pub const LENGTH: usize = 64usize
Sourcepub fn get_signature(&self) -> [u8; 64]
pub fn get_signature(&self) -> [u8; 64]
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for SignatureDto
impl Clone for SignatureDto
Source§fn clone(&self) -> SignatureDto
fn clone(&self) -> SignatureDto
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 SignatureDto
impl Debug for SignatureDto
impl Copy for SignatureDto
Auto Trait Implementations§
impl Freeze for SignatureDto
impl RefUnwindSafe for SignatureDto
impl Send for SignatureDto
impl Sync for SignatureDto
impl Unpin for SignatureDto
impl UnwindSafe for SignatureDto
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