pub struct SiweOptions { /* private fields */ }Implementations§
Source§impl SiweOptions
impl SiweOptions
pub fn new<G, GFut, V, VFut>( domain: impl Into<String>, get_nonce: G, verify_message: V, ) -> Self
pub fn email_domain_name(self, domain: impl Into<String>) -> Self
pub fn anonymous(self, anonymous: bool) -> Self
pub fn ens_lookup<E, EFut>(self, ens_lookup: E) -> Selfwhere
E: Fn(EnsLookupArgs) -> EFut + Send + Sync + 'static,
EFut: Future<Output = Result<Option<EnsLookupResult>, OpenAuthError>> + Send + 'static,
pub fn schema(self, schema: SiweSchemaOptions) -> Self
Trait Implementations§
Source§impl Clone for SiweOptions
impl Clone for SiweOptions
Source§fn clone(&self) -> SiweOptions
fn clone(&self) -> SiweOptions
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 moreAuto Trait Implementations§
impl Freeze for SiweOptions
impl !RefUnwindSafe for SiweOptions
impl Send for SiweOptions
impl Sync for SiweOptions
impl Unpin for SiweOptions
impl UnsafeUnpin for SiweOptions
impl !UnwindSafe for SiweOptions
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