pub struct SchnorrPublicKeyArgument {
pub canister_id: Option<CanisterId>,
pub derivation_path: Vec<Vec<u8>>,
pub key_id: SchnorrKeyId,
}
Expand description
Argument Type of schnorr_public_key.
Fields§
§canister_id: Option<CanisterId>
Canister id, default to the canister id of the caller if None.
derivation_path: Vec<Vec<u8>>
A vector of variable length byte strings.
key_id: SchnorrKeyId
See SchnorrKeyId.
Trait Implementations§
Source§impl Clone for SchnorrPublicKeyArgument
impl Clone for SchnorrPublicKeyArgument
Source§fn clone(&self) -> SchnorrPublicKeyArgument
fn clone(&self) -> SchnorrPublicKeyArgument
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 SchnorrPublicKeyArgument
impl Debug for SchnorrPublicKeyArgument
Source§impl Default for SchnorrPublicKeyArgument
impl Default for SchnorrPublicKeyArgument
Source§fn default() -> SchnorrPublicKeyArgument
fn default() -> SchnorrPublicKeyArgument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchnorrPublicKeyArgument
impl<'de> Deserialize<'de> for SchnorrPublicKeyArgument
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 SchnorrPublicKeyArgument
impl Hash for SchnorrPublicKeyArgument
Source§impl Ord for SchnorrPublicKeyArgument
impl Ord for SchnorrPublicKeyArgument
Source§fn cmp(&self, other: &SchnorrPublicKeyArgument) -> Ordering
fn cmp(&self, other: &SchnorrPublicKeyArgument) -> 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 SchnorrPublicKeyArgument
impl PartialEq for SchnorrPublicKeyArgument
Source§impl PartialOrd for SchnorrPublicKeyArgument
impl PartialOrd for SchnorrPublicKeyArgument
Source§impl Serialize for SchnorrPublicKeyArgument
impl Serialize for SchnorrPublicKeyArgument
impl Eq for SchnorrPublicKeyArgument
impl StructuralPartialEq for SchnorrPublicKeyArgument
Auto Trait Implementations§
impl Freeze for SchnorrPublicKeyArgument
impl RefUnwindSafe for SchnorrPublicKeyArgument
impl Send for SchnorrPublicKeyArgument
impl Sync for SchnorrPublicKeyArgument
impl Unpin for SchnorrPublicKeyArgument
impl UnwindSafe for SchnorrPublicKeyArgument
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
)