pub struct SignUpOptions { /* private fields */ }Expand description
Options for sign-up UI and modal flows.
Implementations§
Source§impl SignUpOptions
impl SignUpOptions
Sourcepub fn from_value(value: Value) -> Self
pub fn from_value(value: Value) -> Self
Wrap an already-built JSON value.
Sourcepub fn option(self, key: impl Into<String>, value: impl Into<Value>) -> Self
pub fn option(self, key: impl Into<String>, value: impl Into<Value>) -> Self
Set a raw clerk-js option by its JavaScript key.
If the wrapped value is not a JSON object, it is replaced with an empty object before the key is set.
Sourcepub fn into_value(self) -> Value
pub fn into_value(self) -> Value
Convert into the raw JSON value passed to clerk-js.
Source§impl SignUpOptions
impl SignUpOptions
Sourcepub fn routing(self, value: Routing) -> Self
pub fn routing(self, value: Routing) -> Self
Set embedded routing mode, for example "path" or "hash".
Sourcepub fn sign_in_url(self, value: impl Into<String>) -> Self
pub fn sign_in_url(self, value: impl Into<String>) -> Self
Set the sign-in URL linked from the sign-up flow.
Sourcepub fn waitlist_url(self, value: impl Into<String>) -> Self
pub fn waitlist_url(self, value: impl Into<String>) -> Self
Set the waitlist URL linked from the sign-up flow.
Sourcepub fn force_redirect_url(self, value: impl Into<String>) -> Self
pub fn force_redirect_url(self, value: impl Into<String>) -> Self
Always redirect here after sign-up.
Sourcepub fn fallback_redirect_url(self, value: impl Into<String>) -> Self
pub fn fallback_redirect_url(self, value: impl Into<String>) -> Self
Fallback redirect URL after sign-up.
Sourcepub fn sign_in_force_redirect_url(self, value: impl Into<String>) -> Self
pub fn sign_in_force_redirect_url(self, value: impl Into<String>) -> Self
Always redirect here after sign-in from sign-up.
Sourcepub fn sign_in_fallback_redirect_url(self, value: impl Into<String>) -> Self
pub fn sign_in_fallback_redirect_url(self, value: impl Into<String>) -> Self
Fallback redirect URL after sign-in from sign-up.
Sourcepub fn initial_values(self, value: Value) -> Self
pub fn initial_values(self, value: Value) -> Self
Forward Clerk’s raw initialValues object.
Sourcepub fn appearance(self, value: Value) -> Self
pub fn appearance(self, value: Value) -> Self
Forward Clerk’s raw appearance object.
Trait Implementations§
Source§impl Clone for SignUpOptions
impl Clone for SignUpOptions
Source§fn clone(&self) -> SignUpOptions
fn clone(&self) -> SignUpOptions
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 SignUpOptions
impl Debug for SignUpOptions
Source§impl Default for SignUpOptions
impl Default for SignUpOptions
Source§fn default() -> SignUpOptions
fn default() -> SignUpOptions
Returns the “default value” for a type. Read more
impl Eq for SignUpOptions
Source§impl From<&SignUpOptions> for Value
impl From<&SignUpOptions> for Value
Source§fn from(options: &SignUpOptions) -> Self
fn from(options: &SignUpOptions) -> Self
Converts to this type from the input type.
Source§impl From<SignUpOptions> for Value
impl From<SignUpOptions> for Value
Source§fn from(options: SignUpOptions) -> Self
fn from(options: SignUpOptions) -> Self
Converts to this type from the input type.
Source§impl From<Value> for SignUpOptions
impl From<Value> for SignUpOptions
Source§impl PartialEq for SignUpOptions
impl PartialEq for SignUpOptions
impl StructuralPartialEq for SignUpOptions
Auto Trait Implementations§
impl Freeze for SignUpOptions
impl RefUnwindSafe for SignUpOptions
impl Send for SignUpOptions
impl Sync for SignUpOptions
impl Unpin for SignUpOptions
impl UnsafeUnpin for SignUpOptions
impl UnwindSafe for SignUpOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DependencyElement for T
Source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.