#[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 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 moreimpl Copy for WebhookCategory
Source§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
impl Eq 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§impl Serialize for WebhookCategory
impl Serialize for WebhookCategory
impl StructuralPartialEq for WebhookCategory
Source§impl TryInto<WebhookCategory> for i16
impl TryInto<WebhookCategory> for i16
Source§type Error = InvalidWebhookCategoryError
type Error = InvalidWebhookCategoryError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WebhookCategory
impl RefUnwindSafe for WebhookCategory
impl Send for WebhookCategory
impl Sync for WebhookCategory
impl Unpin for WebhookCategory
impl UnsafeUnpin for WebhookCategory
impl UnwindSafe for WebhookCategory
Blanket Implementations§
impl<T> BindgenSerializable for T
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