pub struct SignWithSchnorrArgument {
pub message: Vec<u8>,
pub derivation_path: Vec<Vec<u8>>,
pub key_id: SchnorrKeyId,
}
Expand description
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: SchnorrKeyId
See SchnorrKeyId.
Trait Implementations§
Source§impl CandidType for SignWithSchnorrArgument
impl CandidType for SignWithSchnorrArgument
Source§impl Clone for SignWithSchnorrArgument
impl Clone for SignWithSchnorrArgument
Source§fn clone(&self) -> SignWithSchnorrArgument
fn clone(&self) -> SignWithSchnorrArgument
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 SignWithSchnorrArgument
impl Debug for SignWithSchnorrArgument
Source§impl Default for SignWithSchnorrArgument
impl Default for SignWithSchnorrArgument
Source§fn default() -> SignWithSchnorrArgument
fn default() -> SignWithSchnorrArgument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignWithSchnorrArgument
impl<'de> Deserialize<'de> for SignWithSchnorrArgument
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 Hash for SignWithSchnorrArgument
impl Hash for SignWithSchnorrArgument
Source§impl Ord for SignWithSchnorrArgument
impl Ord for SignWithSchnorrArgument
Source§fn cmp(&self, other: &SignWithSchnorrArgument) -> Ordering
fn cmp(&self, other: &SignWithSchnorrArgument) -> 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 SignWithSchnorrArgument
impl PartialEq for SignWithSchnorrArgument
Source§impl PartialOrd for SignWithSchnorrArgument
impl PartialOrd for SignWithSchnorrArgument
Source§impl Serialize for SignWithSchnorrArgument
impl Serialize for SignWithSchnorrArgument
impl Eq for SignWithSchnorrArgument
impl StructuralPartialEq for SignWithSchnorrArgument
Auto Trait Implementations§
impl Freeze for SignWithSchnorrArgument
impl RefUnwindSafe for SignWithSchnorrArgument
impl Send for SignWithSchnorrArgument
impl Sync for SignWithSchnorrArgument
impl Unpin for SignWithSchnorrArgument
impl UnwindSafe for SignWithSchnorrArgument
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)