pub struct ProtocolDecryptedMessage {
pub sender: PublicKey,
pub sender_device: Option<PublicKey>,
pub conversation_owner: Option<PublicKey>,
pub content: String,
pub event_id: Option<String>,
}Fields§
§sender: PublicKey§sender_device: Option<PublicKey>§conversation_owner: Option<PublicKey>§content: String§event_id: Option<String>Trait Implementations§
Source§impl Clone for ProtocolDecryptedMessage
impl Clone for ProtocolDecryptedMessage
Source§fn clone(&self) -> ProtocolDecryptedMessage
fn clone(&self) -> ProtocolDecryptedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProtocolDecryptedMessage
impl RefUnwindSafe for ProtocolDecryptedMessage
impl Send for ProtocolDecryptedMessage
impl Sync for ProtocolDecryptedMessage
impl Unpin for ProtocolDecryptedMessage
impl UnsafeUnpin for ProtocolDecryptedMessage
impl UnwindSafe for ProtocolDecryptedMessage
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