pub enum OnboardingFieldType {
Text,
Secret,
Enum(Vec<String>),
Array,
}Expand description
The type of input expected for an onboarding field.
Variants§
Text
Free-form text input.
Secret
Masked secret input.
Enum(Vec<String>)
Selection from a fixed set of choices.
Array
Multi-value array input (user adds items one at a time).
Trait Implementations§
Source§impl Clone for OnboardingFieldType
impl Clone for OnboardingFieldType
Source§fn clone(&self) -> OnboardingFieldType
fn clone(&self) -> OnboardingFieldType
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 OnboardingFieldType
impl Debug for OnboardingFieldType
Source§impl<'de> Deserialize<'de> for OnboardingFieldType
impl<'de> Deserialize<'de> for OnboardingFieldType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OnboardingFieldType
impl PartialEq for OnboardingFieldType
Source§fn eq(&self, other: &OnboardingFieldType) -> bool
fn eq(&self, other: &OnboardingFieldType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OnboardingFieldType
impl Serialize for OnboardingFieldType
impl StructuralPartialEq for OnboardingFieldType
Auto Trait Implementations§
impl Freeze for OnboardingFieldType
impl RefUnwindSafe for OnboardingFieldType
impl Send for OnboardingFieldType
impl Sync for OnboardingFieldType
impl Unpin for OnboardingFieldType
impl UnsafeUnpin for OnboardingFieldType
impl UnwindSafe for OnboardingFieldType
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