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