pub struct SignChatMessageOptions {
pub account_uuid: Uuid,
pub chat_session_uuid: Uuid,
pub message_index: u32,
pub salt: u64,
pub timestamp: SystemTime,
pub message: String,
pub private_key: RsaPrivateKey,
}Fields§
§account_uuid: Uuid§chat_session_uuid: Uuid§message_index: u32§salt: u64Can be acquired with make_salt.
timestamp: SystemTimeThe current time that we’re sending the message at.
message: StringThe message that we’re sending in chat.
private_key: RsaPrivateKeyAuto Trait Implementations§
impl Freeze for SignChatMessageOptions
impl RefUnwindSafe for SignChatMessageOptions
impl Send for SignChatMessageOptions
impl Sync for SignChatMessageOptions
impl Unpin for SignChatMessageOptions
impl UnwindSafe for SignChatMessageOptions
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