pub struct SignWithSchnorrArgs {
pub message: Vec<u8>,
pub derivation_path: Vec<Vec<u8>>,
pub key_id: SchnorrKeyId,
pub aux: Option<SchnorrAux>,
}Expand description
§Sign With Schnorr Args.
Argument type of sign_with_schnorr.
Fields§
§message: Vec<u8>Message to be signed.
derivation_path: Vec<Vec<u8>>A vector of variable length byte strings.
key_id: SchnorrKeyIdThe key ID.
aux: Option<SchnorrAux>Schnorr auxiliary inputs.
Trait Implementations§
Source§impl CandidType for SignWithSchnorrArgs
impl CandidType for SignWithSchnorrArgs
Source§impl Clone for SignWithSchnorrArgs
impl Clone for SignWithSchnorrArgs
Source§fn clone(&self) -> SignWithSchnorrArgs
fn clone(&self) -> SignWithSchnorrArgs
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 SignWithSchnorrArgs
impl Debug for SignWithSchnorrArgs
Source§impl Default for SignWithSchnorrArgs
impl Default for SignWithSchnorrArgs
Source§fn default() -> SignWithSchnorrArgs
fn default() -> SignWithSchnorrArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignWithSchnorrArgs
impl<'de> Deserialize<'de> for SignWithSchnorrArgs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignWithSchnorrArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignWithSchnorrArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SignWithSchnorrArgs
impl Hash for SignWithSchnorrArgs
Source§impl Ord for SignWithSchnorrArgs
impl Ord for SignWithSchnorrArgs
Source§fn cmp(&self, other: &SignWithSchnorrArgs) -> Ordering
fn cmp(&self, other: &SignWithSchnorrArgs) -> 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 SignWithSchnorrArgs
impl PartialEq for SignWithSchnorrArgs
Source§impl PartialOrd for SignWithSchnorrArgs
impl PartialOrd for SignWithSchnorrArgs
Source§impl Serialize for SignWithSchnorrArgs
impl Serialize for SignWithSchnorrArgs
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 SignWithSchnorrArgs
impl StructuralPartialEq for SignWithSchnorrArgs
Auto Trait Implementations§
impl Freeze for SignWithSchnorrArgs
impl RefUnwindSafe for SignWithSchnorrArgs
impl Send for SignWithSchnorrArgs
impl Sync for SignWithSchnorrArgs
impl Unpin for SignWithSchnorrArgs
impl UnwindSafe for SignWithSchnorrArgs
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