pub struct SchnorrPublicKeyArgs {
pub canister_id: Option<Principal>,
pub derivation_path: Vec<Vec<u8>>,
pub key_id: SchnorrKeyId,
}Expand description
§Schnorr Public Key Args.
Argument type of schnorr_public_key.
Fields§
§canister_id: Option<Principal>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: SchnorrKeyIdThe key ID.
Trait Implementations§
Source§impl CandidType for SchnorrPublicKeyArgs
impl CandidType for SchnorrPublicKeyArgs
Source§impl Clone for SchnorrPublicKeyArgs
impl Clone for SchnorrPublicKeyArgs
Source§fn clone(&self) -> SchnorrPublicKeyArgs
fn clone(&self) -> SchnorrPublicKeyArgs
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 SchnorrPublicKeyArgs
impl Debug for SchnorrPublicKeyArgs
Source§impl Default for SchnorrPublicKeyArgs
impl Default for SchnorrPublicKeyArgs
Source§fn default() -> SchnorrPublicKeyArgs
fn default() -> SchnorrPublicKeyArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchnorrPublicKeyArgs
impl<'de> Deserialize<'de> for SchnorrPublicKeyArgs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchnorrPublicKeyArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchnorrPublicKeyArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SchnorrPublicKeyArgs
impl Hash for SchnorrPublicKeyArgs
Source§impl Ord for SchnorrPublicKeyArgs
impl Ord for SchnorrPublicKeyArgs
Source§fn cmp(&self, other: &SchnorrPublicKeyArgs) -> Ordering
fn cmp(&self, other: &SchnorrPublicKeyArgs) -> 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 SchnorrPublicKeyArgs
impl PartialEq for SchnorrPublicKeyArgs
Source§impl PartialOrd for SchnorrPublicKeyArgs
impl PartialOrd for SchnorrPublicKeyArgs
Source§impl Serialize for SchnorrPublicKeyArgs
impl Serialize for SchnorrPublicKeyArgs
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 SchnorrPublicKeyArgs
impl StructuralPartialEq for SchnorrPublicKeyArgs
Auto Trait Implementations§
impl Freeze for SchnorrPublicKeyArgs
impl RefUnwindSafe for SchnorrPublicKeyArgs
impl Send for SchnorrPublicKeyArgs
impl Sync for SchnorrPublicKeyArgs
impl Unpin for SchnorrPublicKeyArgs
impl UnwindSafe for SchnorrPublicKeyArgs
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