pub enum IdentityType {
Anonymous(AnonymousIdentity),
Ed25519(Arc<BasicIdentity>),
Delegated(Arc<DelegatedIdentity>),
}
Expand description
Enum representing the different types of identity to use as the base.
Variants§
Trait Implementations§
Source§impl Clone for IdentityType
impl Clone for IdentityType
Source§fn clone(&self) -> IdentityType
fn clone(&self) -> IdentityType
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 IdentityType
impl !RefUnwindSafe for IdentityType
impl Send for IdentityType
impl Sync for IdentityType
impl Unpin for IdentityType
impl !UnwindSafe for IdentityType
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