[−][src]Struct lightning_invoice::Signature
Recoverable signature
Methods from Deref<Target = RecoverableSignature>
pub fn as_ptr(&self) -> *const RecoverableSignature
[src]
Obtains a raw pointer suitable for use with FFI functions
pub fn serialize_compact(&self) -> (RecoveryId, [u8; 64])
[src]
Serializes the recoverable signature in compact format
pub fn to_standard(&self) -> Signature
[src]
Converts a recoverable signature to a non-recoverable one (this is needed for verification
Trait Implementations
impl Clone for Signature
[src]
impl Debug for Signature
[src]
impl Deref for Signature
[src]
type Target = RecoverableSignature
The resulting type after dereferencing.
pub fn deref(&self) -> &RecoverableSignature
[src]
impl Eq for Signature
[src]
impl FromBase32 for Signature
[src]
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
pub fn from_base32(signature: &[u5]) -> Result<Self, Self::Err>
[src]
impl PartialEq<Signature> for Signature
[src]
impl StructuralEq for Signature
[src]
impl StructuralPartialEq for Signature
[src]
impl ToBase32 for Signature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Signature
[src]
impl Send for Signature
[src]
impl Sync for Signature
[src]
impl Unpin for Signature
[src]
impl UnwindSafe for Signature
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,