pub struct PublicKeyInformation {
pub algorithm: Option<Algorithm>,
pub derivation_path: Option<Vec<i32>>,
pub public_key: Option<String>,
}
Fields§
§algorithm: Option<Algorithm>
Elliptic Curve
derivation_path: Option<Vec<i32>>
BIP44 derivation path
public_key: Option<String>
Compressed/Uncompressed public key value in hex representation
Implementations§
Source§impl PublicKeyInformation
impl PublicKeyInformation
pub fn new() -> PublicKeyInformation
Trait Implementations§
Source§impl Clone for PublicKeyInformation
impl Clone for PublicKeyInformation
Source§fn clone(&self) -> PublicKeyInformation
fn clone(&self) -> PublicKeyInformation
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 PublicKeyInformation
impl Debug for PublicKeyInformation
Source§impl Default for PublicKeyInformation
impl Default for PublicKeyInformation
Source§fn default() -> PublicKeyInformation
fn default() -> PublicKeyInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicKeyInformation
impl<'de> Deserialize<'de> for PublicKeyInformation
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 PartialEq for PublicKeyInformation
impl PartialEq for PublicKeyInformation
Source§impl Serialize for PublicKeyInformation
impl Serialize for PublicKeyInformation
impl StructuralPartialEq for PublicKeyInformation
Auto Trait Implementations§
impl Freeze for PublicKeyInformation
impl RefUnwindSafe for PublicKeyInformation
impl Send for PublicKeyInformation
impl Sync for PublicKeyInformation
impl Unpin for PublicKeyInformation
impl UnwindSafe for PublicKeyInformation
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