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: Ed25519PublicKeyThe ed25519 key, used for signing.
curve25519: Curve25519PublicKeyThe curve25519 key, used for to establish shared secrets.
Trait Implementations
sourceimpl Clone for IdentityKeys
 
impl Clone for IdentityKeys
sourcefn clone(&self) -> IdentityKeys
 
fn clone(&self) -> IdentityKeys
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IdentityKeys
 
impl Debug for IdentityKeys
sourceimpl<'de> Deserialize<'de> for IdentityKeys
 
impl<'de> Deserialize<'de> for IdentityKeys
sourcefn 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
sourceimpl PartialEq<IdentityKeys> for IdentityKeys
 
impl PartialEq<IdentityKeys> for IdentityKeys
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &IdentityKeys) -> bool
 
fn ne(&self, other: &IdentityKeys) -> bool
This method tests for !=.
sourceimpl Serialize for IdentityKeys
 
impl Serialize for IdentityKeys
impl Copy for IdentityKeys
impl Eq for IdentityKeys
impl StructuralEq for IdentityKeys
impl StructuralPartialEq for IdentityKeys
Auto Trait Implementations
impl RefUnwindSafe for IdentityKeys
impl Send for IdentityKeys
impl Sync for IdentityKeys
impl Unpin for IdentityKeys
impl UnwindSafe for IdentityKeys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more