Struct sm9::MasterPublicKey
source · pub struct MasterPublicKey(/* private fields */);Trait Implementations§
source§impl Clone for MasterPublicKey
impl Clone for MasterPublicKey
source§fn clone(&self) -> MasterPublicKey
fn clone(&self) -> MasterPublicKey
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 MasterPublicKey
impl Debug for MasterPublicKey
source§impl Default for MasterPublicKey
impl Default for MasterPublicKey
source§fn default() -> MasterPublicKey
fn default() -> MasterPublicKey
Returns the “default value” for a type. Read more
source§impl EncodeKey for MasterPublicKey
impl EncodeKey for MasterPublicKey
source§fn to_key_der(&self) -> Result<Document>
fn to_key_der(&self) -> Result<Document>
Serialize a [
Document] containing a ASN.1 DER-encoded key.source§fn read_pem_file(path: impl AsRef<Path>) -> Result<Self>
fn read_pem_file(path: impl AsRef<Path>) -> Result<Self>
Read key from given path
source§impl PartialEq for MasterPublicKey
impl PartialEq for MasterPublicKey
source§fn eq(&self, other: &MasterPublicKey) -> bool
fn eq(&self, other: &MasterPublicKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PemLabel for MasterPublicKey
impl PemLabel for MasterPublicKey
impl Eq for MasterPublicKey
impl StructuralEq for MasterPublicKey
impl StructuralPartialEq for MasterPublicKey
Auto Trait Implementations§
impl RefUnwindSafe for MasterPublicKey
impl Send for MasterPublicKey
impl Sync for MasterPublicKey
impl Unpin for MasterPublicKey
impl UnwindSafe for MasterPublicKey
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