#[non_exhaustive]pub enum InvitationResentDataState {
Pending,
Accepted,
Expired,
Revoked,
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.
Pending
Accepted
Expired
Revoked
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 InvitationResentDataState
impl InvitationResentDataState
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 InvitationResentDataState
impl AsRef<str> for InvitationResentDataState
Source§impl Clone for InvitationResentDataState
impl Clone for InvitationResentDataState
Source§fn clone(&self) -> InvitationResentDataState
fn clone(&self) -> InvitationResentDataState
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 InvitationResentDataState
impl Debug for InvitationResentDataState
Source§impl<'de> Deserialize<'de> for InvitationResentDataState
impl<'de> Deserialize<'de> for InvitationResentDataState
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
Source§impl Display for InvitationResentDataState
impl Display for InvitationResentDataState
impl Eq for InvitationResentDataState
Source§impl From<&str> for InvitationResentDataState
impl From<&str> for InvitationResentDataState
Source§impl From<String> for InvitationResentDataState
impl From<String> for InvitationResentDataState
Source§impl FromStr for InvitationResentDataState
impl FromStr for InvitationResentDataState
Source§impl Hash for InvitationResentDataState
impl Hash for InvitationResentDataState
impl StructuralPartialEq for InvitationResentDataState
Auto Trait Implementations§
impl Freeze for InvitationResentDataState
impl RefUnwindSafe for InvitationResentDataState
impl Send for InvitationResentDataState
impl Sync for InvitationResentDataState
impl Unpin for InvitationResentDataState
impl UnsafeUnpin for InvitationResentDataState
impl UnwindSafe for InvitationResentDataState
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