pub struct SchnorrPublicKeyResponse {
pub public_key: Vec<u8>,
pub chain_code: Vec<u8>,
}
Expand description
Response Type of schnorr_public_key.
Fields§
§public_key: Vec<u8>
An Schnorr public key encoded in SEC1 compressed form.
chain_code: Vec<u8>
Can be used to deterministically derive child keys of the public_key.
Trait Implementations§
Source§impl Clone for SchnorrPublicKeyResponse
impl Clone for SchnorrPublicKeyResponse
Source§fn clone(&self) -> SchnorrPublicKeyResponse
fn clone(&self) -> SchnorrPublicKeyResponse
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 SchnorrPublicKeyResponse
impl Debug for SchnorrPublicKeyResponse
Source§impl Default for SchnorrPublicKeyResponse
impl Default for SchnorrPublicKeyResponse
Source§fn default() -> SchnorrPublicKeyResponse
fn default() -> SchnorrPublicKeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchnorrPublicKeyResponse
impl<'de> Deserialize<'de> for SchnorrPublicKeyResponse
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 SchnorrPublicKeyResponse
impl Hash for SchnorrPublicKeyResponse
Source§impl Ord for SchnorrPublicKeyResponse
impl Ord for SchnorrPublicKeyResponse
Source§fn cmp(&self, other: &SchnorrPublicKeyResponse) -> Ordering
fn cmp(&self, other: &SchnorrPublicKeyResponse) -> 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 SchnorrPublicKeyResponse
impl PartialEq for SchnorrPublicKeyResponse
Source§impl PartialOrd for SchnorrPublicKeyResponse
impl PartialOrd for SchnorrPublicKeyResponse
Source§impl Serialize for SchnorrPublicKeyResponse
impl Serialize for SchnorrPublicKeyResponse
impl Eq for SchnorrPublicKeyResponse
impl StructuralPartialEq for SchnorrPublicKeyResponse
Auto Trait Implementations§
impl Freeze for SchnorrPublicKeyResponse
impl RefUnwindSafe for SchnorrPublicKeyResponse
impl Send for SchnorrPublicKeyResponse
impl Sync for SchnorrPublicKeyResponse
impl Unpin for SchnorrPublicKeyResponse
impl UnwindSafe for SchnorrPublicKeyResponse
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
)