pub struct SignatureMessage(/* private fields */);
Expand description
The type for messages
Implementations§
Source§impl SignatureMessage
impl SignatureMessage
Sourcepub fn to_bytes_compressed_form(&self) -> [u8; 32]
pub fn to_bytes_compressed_form(&self) -> [u8; 32]
Convert to raw bytes compressed form
Sourcepub fn to_bytes_uncompressed_form(&self) -> [u8; 32]
pub fn to_bytes_uncompressed_form(&self) -> [u8; 32]
Convert to raw bytes uncompressed form
Trait Implementations§
Source§impl AsRef<Fr> for SignatureMessage
impl AsRef<Fr> for SignatureMessage
Source§impl Clone for SignatureMessage
impl Clone for SignatureMessage
Source§fn clone(&self) -> SignatureMessage
fn clone(&self) -> SignatureMessage
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 SignatureMessage
impl Debug for SignatureMessage
Source§impl Default for SignatureMessage
impl Default for SignatureMessage
Source§impl<'a> Deserialize<'a> for SignatureMessage
impl<'a> Deserialize<'a> for SignatureMessage
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SignatureMessage
impl Display for SignatureMessage
Source§impl From<&Fr> for SignatureMessage
impl From<&Fr> for SignatureMessage
Source§impl From<Fr> for SignatureMessage
impl From<Fr> for SignatureMessage
Source§impl HashElem for SignatureMessage
impl HashElem for SignatureMessage
Source§impl Ord for SignatureMessage
impl Ord for SignatureMessage
Source§fn cmp(&self, other: &SignatureMessage) -> Ordering
fn cmp(&self, other: &SignatureMessage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SignatureMessage
impl PartialEq for SignatureMessage
Source§impl PartialOrd for SignatureMessage
impl PartialOrd for SignatureMessage
Source§impl RandomElem for SignatureMessage
impl RandomElem for SignatureMessage
Source§impl Serialize for SignatureMessage
impl Serialize for SignatureMessage
Source§impl TryFrom<&[u8]> for SignatureMessage
impl TryFrom<&[u8]> for SignatureMessage
impl Copy for SignatureMessage
impl Eq for SignatureMessage
impl StructuralPartialEq for SignatureMessage
Auto Trait Implementations§
impl Freeze for SignatureMessage
impl RefUnwindSafe for SignatureMessage
impl Send for SignatureMessage
impl Sync for SignatureMessage
impl Unpin for SignatureMessage
impl UnwindSafe for SignatureMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more