Struct blockify::DigitalSignature
source · pub struct DigitalSignature { /* private fields */ }Expand description
A DigitalSignature is a cryptographic signature that can be used to verify the authenticity of a message.
It is composed of a buffer of raw bytes.
Fields
buffer: The raw bytes of the signature.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for DigitalSignature
impl AsRef<[u8]> for DigitalSignature
source§impl Clone for DigitalSignature
impl Clone for DigitalSignature
source§fn clone(&self) -> DigitalSignature
fn clone(&self) -> DigitalSignature
Returns a copy 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 DigitalSignature
impl Debug for DigitalSignature
source§impl<'de> Deserialize<'de> for DigitalSignature
impl<'de> Deserialize<'de> for DigitalSignature
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DigitalSignature> for String
impl From<DigitalSignature> for String
source§fn from(data: DigitalSignature) -> Self
fn from(data: DigitalSignature) -> Self
Converts to this type from the input type.
source§impl Hash for DigitalSignature
impl Hash for DigitalSignature
source§impl PartialEq<DigitalSignature> for DigitalSignature
impl PartialEq<DigitalSignature> for DigitalSignature
source§fn eq(&self, other: &DigitalSignature) -> bool
fn eq(&self, other: &DigitalSignature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DigitalSignature
impl Serialize for DigitalSignature
impl Eq for DigitalSignature
impl StructuralEq for DigitalSignature
impl StructuralPartialEq for DigitalSignature
Auto Trait Implementations§
impl RefUnwindSafe for DigitalSignature
impl Send for DigitalSignature
impl Sync for DigitalSignature
impl Unpin for DigitalSignature
impl UnwindSafe for DigitalSignature
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)