pub struct NewSignerBundle<'a, S: Signer> {
pub signer: &'a S,
pub credential_with_key: CredentialWithKey,
}
Expand description
Bundle consisting of a [Signer
] and a CredentialWithKey
to be used to
update the signature key in an MlsGroup
. The public key and credential
in credential_with_key
MUST match the signature key exposed by signer
.
Fields§
§signer: &'a S
The signer to be used with the group after the update.
credential_with_key: CredentialWithKey
The credential and public key corresponding to the signer
.
Trait Implementations§
Source§impl<'a, S: Clone + Signer> Clone for NewSignerBundle<'a, S>
impl<'a, S: Clone + Signer> Clone for NewSignerBundle<'a, S>
Source§fn clone(&self) -> NewSignerBundle<'a, S>
fn clone(&self) -> NewSignerBundle<'a, S>
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 moreAuto Trait Implementations§
impl<'a, S> Freeze for NewSignerBundle<'a, S>
impl<'a, S> RefUnwindSafe for NewSignerBundle<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for NewSignerBundle<'a, S>where
S: Sync,
impl<'a, S> Sync for NewSignerBundle<'a, S>where
S: Sync,
impl<'a, S> Unpin for NewSignerBundle<'a, S>
impl<'a, S> UnwindSafe for NewSignerBundle<'a, S>where
S: RefUnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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