Struct vodozemac::olm::IdentityKeys
source · 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§fn eq(&self, other: &IdentityKeys) -> bool
fn eq(&self, other: &IdentityKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)