Enum cyfs_base::PublicKeyValue
source · pub enum PublicKeyValue {
Single(PublicKey),
MN(MNPublicKey),
}
Variants§
Single(PublicKey)
MN(MNPublicKey)
Implementations§
source§impl PublicKeyValue
impl PublicKeyValue
pub fn as_ref(&self) -> PublicKeyRef<'_>
Trait Implementations§
source§impl Clone for PublicKeyValue
impl Clone for PublicKeyValue
source§fn clone(&self) -> PublicKeyValue
fn clone(&self) -> PublicKeyValue
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 PublicKeyValue
impl Debug for PublicKeyValue
source§impl ObjectFormat for PublicKeyValue
impl ObjectFormat for PublicKeyValue
fn format_json(&self) -> Value
source§impl PartialEq<PublicKeyValue> for PublicKeyValue
impl PartialEq<PublicKeyValue> for PublicKeyValue
source§fn eq(&self, other: &PublicKeyValue) -> bool
fn eq(&self, other: &PublicKeyValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.