pub struct WelcomeCommitMessages {
pub commit: MlsMessageOut,
pub welcome: MlsMessageOut,
pub group_info: Option<MlsMessageOut>,
}
Expand description
The result of a commit with an add proposal. This includes
- The Commit as an
MlsMessageOut
- The
Welcome
as anMlsMessageOut
- Optionally a
GroupInfo
as anMlsMessageOut
Fields§
§commit: MlsMessageOut
The Commit as an MlsMessageOut
.
welcome: MlsMessageOut
The Welcome
as an MlsMessageOut
.
group_info: Option<MlsMessageOut>
Optionally a GroupInfo
as an MlsMessageOut
.
Trait Implementations§
Source§impl TryFrom<CommitMessageBundle> for WelcomeCommitMessages
impl TryFrom<CommitMessageBundle> for WelcomeCommitMessages
Source§type Error = LibraryError
type Error = LibraryError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WelcomeCommitMessages
impl RefUnwindSafe for WelcomeCommitMessages
impl Send for WelcomeCommitMessages
impl Sync for WelcomeCommitMessages
impl Unpin for WelcomeCommitMessages
impl UnwindSafe for WelcomeCommitMessages
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