pub struct ZkloginVerifier { /* private fields */ }Available on crate feature
zklogin only.Implementations§
Source§impl ZkloginVerifier
impl ZkloginVerifier
pub fn new_mainnet() -> Self
pub fn new_dev() -> Self
pub fn jwks(&self) -> &HashMap<JwkId, Jwk>
pub fn jwks_mut(&mut self) -> &mut HashMap<JwkId, Jwk>
pub fn circuit_mode(&self) -> ZkLoginCircuitMode
Sourcepub fn set_circuit_mode(&mut self, circuit_mode: ZkLoginCircuitMode)
pub fn set_circuit_mode(&mut self, circuit_mode: ZkLoginCircuitMode)
Set which circuit mode version from sui.
Trait Implementations§
Source§impl Clone for ZkloginVerifier
impl Clone for ZkloginVerifier
Source§fn clone(&self) -> ZkloginVerifier
fn clone(&self) -> ZkloginVerifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ZkloginVerifier
impl Debug for ZkloginVerifier
Source§impl PartialEq for ZkloginVerifier
impl PartialEq for ZkloginVerifier
Source§fn eq(&self, other: &ZkloginVerifier) -> bool
fn eq(&self, other: &ZkloginVerifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Verifier<UserSignature> for ZkloginVerifier
impl Verifier<UserSignature> for ZkloginVerifier
Source§impl Verifier<ZkLoginAuthenticator> for ZkloginVerifier
impl Verifier<ZkLoginAuthenticator> for ZkloginVerifier
impl StructuralPartialEq for ZkloginVerifier
Auto Trait Implementations§
impl Freeze for ZkloginVerifier
impl RefUnwindSafe for ZkloginVerifier
impl Send for ZkloginVerifier
impl Sync for ZkloginVerifier
impl Unpin for ZkloginVerifier
impl UnsafeUnpin for ZkloginVerifier
impl UnwindSafe for ZkloginVerifier
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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