Enum sui_sdk_types::types::SignatureScheme
source · #[repr(u8)]pub enum SignatureScheme {
Ed25519 = 0,
Secp256k1 = 1,
Secp256r1 = 2,
Multisig = 3,
Bls12381 = 4,
ZkLogin = 5,
Passkey = 6,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SignatureScheme
impl Clone for SignatureScheme
source§fn clone(&self) -> SignatureScheme
fn clone(&self) -> SignatureScheme
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 SignatureScheme
impl Debug for SignatureScheme
source§impl Hash for SignatureScheme
impl Hash for SignatureScheme
source§impl Ord for SignatureScheme
impl Ord for SignatureScheme
source§fn cmp(&self, other: &SignatureScheme) -> Ordering
fn cmp(&self, other: &SignatureScheme) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SignatureScheme
impl PartialEq for SignatureScheme
source§impl PartialOrd for SignatureScheme
impl PartialOrd for SignatureScheme
impl Copy for SignatureScheme
impl Eq for SignatureScheme
impl StructuralPartialEq for SignatureScheme
Auto Trait Implementations§
impl Freeze for SignatureScheme
impl RefUnwindSafe for SignatureScheme
impl Send for SignatureScheme
impl Sync for SignatureScheme
impl Unpin for SignatureScheme
impl UnwindSafe for SignatureScheme
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)