pub struct RecoverableSignature {
pub bytes: Vec<u8>,
pub recovery_id: u8,
}
Available on crate features
ecdsa
or cggmp
only.Expand description
Recoverable signature.
Fields§
§bytes: Vec<u8>
Signature bytes.
recovery_id: u8
Recovery identifier.
Trait Implementations§
Source§impl Debug for RecoverableSignature
impl Debug for RecoverableSignature
Source§impl<'de> Deserialize<'de> for RecoverableSignature
impl<'de> Deserialize<'de> for RecoverableSignature
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<(Signature<Secp256k1>, RecoveryId)> for RecoverableSignature
impl From<(Signature<Secp256k1>, RecoveryId)> for RecoverableSignature
Source§fn from(value: (Signature, RecoveryId)) -> Self
fn from(value: (Signature, RecoveryId)) -> Self
Converts to this type from the input type.
Source§impl From<RecoverableSignature> for RecoverableSignature
Available on crate feature cggmp
only.
impl From<RecoverableSignature> for RecoverableSignature
Available on crate feature
cggmp
only.Source§fn from(value: RecoverableSignature) -> Self
fn from(value: RecoverableSignature) -> Self
Converts to this type from the input type.
Source§impl Serialize for RecoverableSignature
impl Serialize for RecoverableSignature
Source§impl TryFrom<&RecoverableSignature> for (Signature, RecoveryId)
impl TryFrom<&RecoverableSignature> for (Signature, RecoveryId)
Auto Trait Implementations§
impl Freeze for RecoverableSignature
impl RefUnwindSafe for RecoverableSignature
impl Send for RecoverableSignature
impl Sync for RecoverableSignature
impl Unpin for RecoverableSignature
impl UnwindSafe for RecoverableSignature
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