#[non_exhaustive]pub enum WebhookCategory {
Ping,
FrontMatter,
}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.
Trait Implementations§
source§impl Clone for WebhookCategory
impl Clone for WebhookCategory
source§fn clone(&self) -> WebhookCategory
fn clone(&self) -> WebhookCategory
Returns a copy 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 Debug for WebhookCategory
impl Debug for WebhookCategory
source§impl<'de> Deserialize<'de> for WebhookCategory
impl<'de> Deserialize<'de> for WebhookCategory
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
source§impl Display for WebhookCategory
impl Display for WebhookCategory
source§impl From<&WebhookCategory> for i16
impl From<&WebhookCategory> for i16
source§fn from(value: &WebhookCategory) -> Self
fn from(value: &WebhookCategory) -> Self
Converts to this type from the input type.
source§impl From<WebhookCategory> for i16
impl From<WebhookCategory> for i16
source§fn from(value: WebhookCategory) -> Self
fn from(value: WebhookCategory) -> Self
Converts to this type from the input type.
source§impl IntoEnumIterator for WebhookCategory
impl IntoEnumIterator for WebhookCategory
type Iterator = WebhookCategoryIter
fn iter() -> WebhookCategoryIter ⓘ
source§impl PartialEq for WebhookCategory
impl PartialEq for WebhookCategory
source§fn eq(&self, other: &WebhookCategory) -> bool
fn eq(&self, other: &WebhookCategory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WebhookCategory
impl Serialize for WebhookCategory
source§impl TryInto<WebhookCategory> for i16
impl TryInto<WebhookCategory> for i16
§type Error = InvalidWebhookCategoryError
type Error = InvalidWebhookCategoryError
The type returned in the event of a conversion error.
impl Copy for WebhookCategory
impl Eq for WebhookCategory
impl StructuralPartialEq for WebhookCategory
Auto Trait Implementations§
impl Freeze for WebhookCategory
impl RefUnwindSafe for WebhookCategory
impl Send for WebhookCategory
impl Sync for WebhookCategory
impl Unpin for WebhookCategory
impl UnwindSafe for WebhookCategory
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