Struct mls_rs_core::group::MemberUpdate
source · #[non_exhaustive]pub struct MemberUpdate {
pub prior: Member,
pub new: Member,
}
Expand description
Update of a member due to a commit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prior: Member
§new: Member
Implementations§
Trait Implementations§
source§impl Clone for MemberUpdate
impl Clone for MemberUpdate
source§fn clone(&self) -> MemberUpdate
fn clone(&self) -> MemberUpdate
Returns a copy 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 moresource§impl Debug for MemberUpdate
impl Debug for MemberUpdate
source§impl PartialEq for MemberUpdate
impl PartialEq for MemberUpdate
source§fn eq(&self, other: &MemberUpdate) -> bool
fn eq(&self, other: &MemberUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberUpdate
Auto Trait Implementations§
impl Freeze for MemberUpdate
impl RefUnwindSafe for MemberUpdate
impl Send for MemberUpdate
impl Sync for MemberUpdate
impl Unpin for MemberUpdate
impl UnwindSafe for MemberUpdate
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