#[non_exhaustive]pub enum EditableFieldValue<E = ()> {
String(EditableField<EditableFieldString, E>),
ConcealedString(EditableField<EditableFieldConcealedString, E>),
Boolean(EditableField<EditableFieldBoolean, E>),
Date(EditableField<EditableFieldDate, E>),
YearMonth(EditableField<EditableFieldYearMonth, E>),
SubdivisionCode(EditableField<EditableFieldSubdivisionCode, E>),
CountryCode(EditableField<EditableFieldCountryCode, E>),
WifiNetworkSecurityType(EditableField<EditableFieldWifiNetworkSecurityType, E>),
}Expand description
Helper wrapper for CustomFieldsCredential.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
String(EditableField<EditableFieldString, E>)
ConcealedString(EditableField<EditableFieldConcealedString, E>)
Boolean(EditableField<EditableFieldBoolean, E>)
Date(EditableField<EditableFieldDate, E>)
YearMonth(EditableField<EditableFieldYearMonth, E>)
SubdivisionCode(EditableField<EditableFieldSubdivisionCode, E>)
CountryCode(EditableField<EditableFieldCountryCode, E>)
WifiNetworkSecurityType(EditableField<EditableFieldWifiNetworkSecurityType, E>)
Trait Implementations§
Source§impl<E: Clone> Clone for EditableFieldValue<E>
impl<E: Clone> Clone for EditableFieldValue<E>
Source§fn clone(&self) -> EditableFieldValue<E>
fn clone(&self) -> EditableFieldValue<E>
Returns a duplicate 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<E: Debug> Debug for EditableFieldValue<E>
impl<E: Debug> Debug for EditableFieldValue<E>
Source§impl<'de, E> Deserialize<'de> for EditableFieldValue<E>where
E: Deserialize<'de>,
impl<'de, E> Deserialize<'de> for EditableFieldValue<E>where
E: Deserialize<'de>,
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
Auto Trait Implementations§
impl<E> Freeze for EditableFieldValue<E>
impl<E> RefUnwindSafe for EditableFieldValue<E>where
E: RefUnwindSafe,
impl<E> Send for EditableFieldValue<E>where
E: Send,
impl<E> Sync for EditableFieldValue<E>where
E: Sync,
impl<E> Unpin for EditableFieldValue<E>where
E: Unpin,
impl<E> UnwindSafe for EditableFieldValue<E>where
E: UnwindSafe,
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