#[non_exhaustive]pub enum UpdateUserPasswordSaltPosition {
Prefix,
Suffix,
Unknown(String),
}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.
Prefix
Suffix
Unknown(String)
Wire value not recognized by this SDK version. The original string is preserved verbatim. WorkOS may add new enum values server-side; matching on this variant lets callers handle forward-compatible values without panicking.
Implementations§
Source§impl UpdateUserPasswordSaltPosition
impl UpdateUserPasswordSaltPosition
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
Canonical wire string for this value. For Self::Unknown returns the
original wire value as received from the API.
Trait Implementations§
Source§impl AsRef<str> for UpdateUserPasswordSaltPosition
impl AsRef<str> for UpdateUserPasswordSaltPosition
Source§impl Clone for UpdateUserPasswordSaltPosition
impl Clone for UpdateUserPasswordSaltPosition
Source§fn clone(&self) -> UpdateUserPasswordSaltPosition
fn clone(&self) -> UpdateUserPasswordSaltPosition
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<'de> Deserialize<'de> for UpdateUserPasswordSaltPosition
impl<'de> Deserialize<'de> for UpdateUserPasswordSaltPosition
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpdateUserPasswordSaltPosition
Source§impl From<&str> for UpdateUserPasswordSaltPosition
impl From<&str> for UpdateUserPasswordSaltPosition
Source§impl From<String> for UpdateUserPasswordSaltPosition
impl From<String> for UpdateUserPasswordSaltPosition
impl StructuralPartialEq for UpdateUserPasswordSaltPosition
Auto Trait Implementations§
impl Freeze for UpdateUserPasswordSaltPosition
impl RefUnwindSafe for UpdateUserPasswordSaltPosition
impl Send for UpdateUserPasswordSaltPosition
impl Sync for UpdateUserPasswordSaltPosition
impl Unpin for UpdateUserPasswordSaltPosition
impl UnsafeUnpin for UpdateUserPasswordSaltPosition
impl UnwindSafe for UpdateUserPasswordSaltPosition
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