#[repr(u8)]pub enum WebhookContentType {
Json = 0,
Form = 1,
}Expand description
The body format of a webhook delivery.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WebhookContentType
impl Clone for WebhookContentType
Source§fn clone(&self) -> WebhookContentType
fn clone(&self) -> WebhookContentType
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 WebhookContentType
Source§impl Debug for WebhookContentType
impl Debug for WebhookContentType
Source§impl Display for WebhookContentType
impl Display for WebhookContentType
impl Eq for WebhookContentType
Source§impl<'ʄ> Facet<'ʄ> for WebhookContentType
impl<'ʄ> Facet<'ʄ> for WebhookContentType
Source§impl FromStr for WebhookContentType
impl FromStr for WebhookContentType
Source§impl PartialEq for WebhookContentType
impl PartialEq for WebhookContentType
impl StructuralPartialEq for WebhookContentType
Auto Trait Implementations§
impl Freeze for WebhookContentType
impl RefUnwindSafe for WebhookContentType
impl Send for WebhookContentType
impl Sync for WebhookContentType
impl Unpin for WebhookContentType
impl UnsafeUnpin for WebhookContentType
impl UnwindSafe for WebhookContentType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.