pub struct UnverifiedMessage { /* private fields */ }Available on 32-bit or 64-bit only.
Expand description
Partially checked and potentially decrypted message (if it was originally encrypted).
Use this to inspect the Credential of the message sender
and the optional aad if the original message was encrypted.
The OpenMlsSignaturePublicKey is used to verify the signature of the
message.
Implementations§
Source§impl UnverifiedMessage
impl UnverifiedMessage
Sourcepub fn committed_proposals(&self) -> Option<&[ProposalOrRefIn]>
Available on crate feature extensions-draft-08 only.
pub fn committed_proposals(&self) -> Option<&[ProposalOrRefIn]>
extensions-draft-08 only.Get the proposals of the commit, if it is one. If not, return None.
Trait Implementations§
Source§impl Clone for UnverifiedMessage
impl Clone for UnverifiedMessage
Source§fn clone(&self) -> UnverifiedMessage
fn clone(&self) -> UnverifiedMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 UnverifiedMessage
impl RefUnwindSafe for UnverifiedMessage
impl Send for UnverifiedMessage
impl Sync for UnverifiedMessage
impl Unpin for UnverifiedMessage
impl UnwindSafe for UnverifiedMessage
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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