pub struct SignWithSchnorrResult {
pub signature: Vec<u8>,
}Expand description
§Sign With Schnorr Result.
Result type of sign_with_schnorr.
Fields§
§signature: Vec<u8>The signature.
The encoding of the signature depends on the key ID’s algorithm.
See sign_with_schnorr for more details.
Trait Implementations§
Source§impl CandidType for SignWithSchnorrResult
impl CandidType for SignWithSchnorrResult
Source§impl Clone for SignWithSchnorrResult
impl Clone for SignWithSchnorrResult
Source§fn clone(&self) -> SignWithSchnorrResult
fn clone(&self) -> SignWithSchnorrResult
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 SignWithSchnorrResult
impl Debug for SignWithSchnorrResult
Source§impl Default for SignWithSchnorrResult
impl Default for SignWithSchnorrResult
Source§fn default() -> SignWithSchnorrResult
fn default() -> SignWithSchnorrResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignWithSchnorrResult
impl<'de> Deserialize<'de> for SignWithSchnorrResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignWithSchnorrResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignWithSchnorrResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SignWithSchnorrResult
impl Hash for SignWithSchnorrResult
Source§impl Ord for SignWithSchnorrResult
impl Ord for SignWithSchnorrResult
Source§fn cmp(&self, other: &SignWithSchnorrResult) -> Ordering
fn cmp(&self, other: &SignWithSchnorrResult) -> 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 SignWithSchnorrResult
impl PartialEq for SignWithSchnorrResult
Source§impl PartialOrd for SignWithSchnorrResult
impl PartialOrd for SignWithSchnorrResult
Source§impl Serialize for SignWithSchnorrResult
impl Serialize for SignWithSchnorrResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SignWithSchnorrResult
impl StructuralPartialEq for SignWithSchnorrResult
Auto Trait Implementations§
impl Freeze for SignWithSchnorrResult
impl RefUnwindSafe for SignWithSchnorrResult
impl Send for SignWithSchnorrResult
impl Sync for SignWithSchnorrResult
impl Unpin for SignWithSchnorrResult
impl UnwindSafe for SignWithSchnorrResult
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