Struct ruma_common::events::room::encrypted::CiphertextInfo
source · [−]Available on crate feature
events
only.Expand description
Ciphertext information holding the ciphertext and message type.
Used for messages encrypted with the m.olm.v1.curve25519-aes-sha2
algorithm.
Fields
body: String
The encrypted payload.
message_type: UInt
The Olm message type.
Implementations
Trait Implementations
sourceimpl Clone for CiphertextInfo
impl Clone for CiphertextInfo
sourcefn clone(&self) -> CiphertextInfo
fn clone(&self) -> CiphertextInfo
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 moresourceimpl Debug for CiphertextInfo
impl Debug for CiphertextInfo
sourceimpl<'de> Deserialize<'de> for CiphertextInfo
impl<'de> Deserialize<'de> for CiphertextInfo
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 Serialize for CiphertextInfo
impl Serialize for CiphertextInfo
Auto Trait Implementations
impl RefUnwindSafe for CiphertextInfo
impl Send for CiphertextInfo
impl Sync for CiphertextInfo
impl Unpin for CiphertextInfo
impl UnwindSafe for CiphertextInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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