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