pub struct MlsDecryptMessage {
pub app_msg: Option<Vec<u8>>,
pub is_active: bool,
pub delay: Option<u64>,
pub sender_client_id: Option<ClientId>,
pub identity: WireIdentity,
pub buffered_messages: Option<Vec<MlsBufferedDecryptMessage>>,
}Expand description
Represents the potential items a consumer might require after passing us an encrypted message we have decrypted for him
Fields§
§app_msg: Option<Vec<u8>>Decrypted text message
is_active: boolIs the conversation still active after receiving this commit aka has the user been removed from the group
delay: Option<u64>Delay time in seconds to feed caller timer for committing
sender_client_id: Option<ClientId>ClientId of the sender of the message being decrypted. Only present for application messages.
identity: WireIdentityIdentity claims present in the sender credential Present for all messages
buffered_messages: Option<Vec<MlsBufferedDecryptMessage>>Only set when the decrypted message is a commit. Contains buffered messages for next epoch which were received before the commit creating the epoch because the DS did not fan them out in order.
Trait Implementations§
Source§impl Debug for MlsDecryptMessage
impl Debug for MlsDecryptMessage
Source§impl From<MlsDecryptMessage> for MlsBufferedDecryptMessage
impl From<MlsDecryptMessage> for MlsBufferedDecryptMessage
Source§fn from(from: MlsDecryptMessage) -> Self
fn from(from: MlsDecryptMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MlsDecryptMessage
impl RefUnwindSafe for MlsDecryptMessage
impl Send for MlsDecryptMessage
impl Sync for MlsDecryptMessage
impl Unpin for MlsDecryptMessage
impl UnsafeUnpin for MlsDecryptMessage
impl UnwindSafe for MlsDecryptMessage
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more