pub struct SchnorrPublicKeyArgument {
pub canister_id: Option<CanisterId>,
pub derivation_path: Vec<Vec<u8>>,
pub key_id: SchnorrKeyId,
}
๐Deprecated since 0.18.0: The
api::management_canister::schnorr
module is deprecated. Please use the management_canister
module at the crate root.Expand description
Argument Type of schnorr_public_key.
Fieldsยง
ยงcanister_id: Option<CanisterId>
๐Deprecated since 0.18.0: The
api::management_canister::schnorr
module is deprecated. Please use the management_canister
module at the crate root.Canister id, default to the canister id of the caller if None.
derivation_path: Vec<Vec<u8>>
๐Deprecated since 0.18.0: The
api::management_canister::schnorr
module is deprecated. Please use the management_canister
module at the crate root.A vector of variable length byte strings.
key_id: SchnorrKeyId
๐Deprecated since 0.18.0: The
api::management_canister::schnorr
module is deprecated. Please use the management_canister
module at the crate root.See SchnorrKeyId.
Trait Implementationsยง
Sourceยงimpl Clone for SchnorrPublicKeyArgument
impl Clone for SchnorrPublicKeyArgument
Sourceยงfn clone(&self) -> SchnorrPublicKeyArgument
fn clone(&self) -> SchnorrPublicKeyArgument
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงconst fn clone_from(&mut self, source: &Self)
const 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ยงfn eq(&self, other: &SchnorrPublicKeyArgument) -> bool
fn eq(&self, other: &SchnorrPublicKeyArgument) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for SchnorrPublicKeyArgument
impl PartialOrd 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