Struct vodozemac::olm::SessionKeys
source · [−]pub struct SessionKeys {
pub identity_key: Curve25519PublicKey,
pub base_key: Curve25519PublicKey,
pub one_time_key: Curve25519PublicKey,
}
Expand description
The set of keys that were used to establish the Olm Session,
Fields
identity_key: Curve25519PublicKey
base_key: Curve25519PublicKey
one_time_key: Curve25519PublicKey
Trait Implementations
sourceimpl Clone for SessionKeys
impl Clone for SessionKeys
sourcefn clone(&self) -> SessionKeys
fn clone(&self) -> SessionKeys
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 SessionKeys
impl Debug for SessionKeys
sourceimpl<'de> Deserialize<'de> for SessionKeys
impl<'de> Deserialize<'de> for SessionKeys
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<SessionKeys> for SessionKeys
impl PartialEq<SessionKeys> for SessionKeys
sourcefn eq(&self, other: &SessionKeys) -> bool
fn eq(&self, other: &SessionKeys) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SessionKeys) -> bool
fn ne(&self, other: &SessionKeys) -> bool
This method tests for !=
.
sourceimpl Serialize for SessionKeys
impl Serialize for SessionKeys
impl Copy for SessionKeys
impl Eq for SessionKeys
impl StructuralEq for SessionKeys
impl StructuralPartialEq for SessionKeys
Auto Trait Implementations
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnwindSafe for SessionKeys
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