pub struct IdentityKeys {
pub ed25519: Ed25519PublicKey,
pub curve25519: Curve25519PublicKey,
}
Expand description
Struct holding the two public identity keys of an Account
.
Fields§
§ed25519: Ed25519PublicKey
The Ed25519 key, used for signing.
curve25519: Curve25519PublicKey
The Curve25519 key, used for to establish shared secrets.
Trait Implementations§
Source§impl Clone for IdentityKeys
impl Clone for IdentityKeys
Source§fn clone(&self) -> IdentityKeys
fn clone(&self) -> IdentityKeys
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 IdentityKeys
impl Debug for IdentityKeys
Source§impl<'de> Deserialize<'de> for IdentityKeys
impl<'de> Deserialize<'de> for IdentityKeys
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 IdentityKeys
impl PartialEq for IdentityKeys
Source§impl Serialize for IdentityKeys
impl Serialize for IdentityKeys
impl Copy for IdentityKeys
impl Eq for IdentityKeys
impl StructuralPartialEq for IdentityKeys
Auto Trait Implementations§
impl Freeze for IdentityKeys
impl RefUnwindSafe for IdentityKeys
impl Send for IdentityKeys
impl Sync for IdentityKeys
impl Unpin for IdentityKeys
impl UnwindSafe for IdentityKeys
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