pub enum PingEventHookConfigContentType {
Json,
Form,
}
Expand description
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
JSON schema
{
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
"type": "string",
"enum": [
"json",
"form"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PingEventHookConfigContentType
impl Clone for PingEventHookConfigContentType
Source§fn clone(&self) -> PingEventHookConfigContentType
fn clone(&self) -> PingEventHookConfigContentType
Returns a duplicate 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<'de> Deserialize<'de> for PingEventHookConfigContentType
impl<'de> Deserialize<'de> for PingEventHookConfigContentType
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 From<&PingEventHookConfigContentType> for PingEventHookConfigContentType
impl From<&PingEventHookConfigContentType> for PingEventHookConfigContentType
Source§fn from(value: &PingEventHookConfigContentType) -> Self
fn from(value: &PingEventHookConfigContentType) -> Self
Converts to this type from the input type.
Source§impl Ord for PingEventHookConfigContentType
impl Ord for PingEventHookConfigContentType
Source§fn cmp(&self, other: &PingEventHookConfigContentType) -> Ordering
fn cmp(&self, other: &PingEventHookConfigContentType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PingEventHookConfigContentType
impl PartialEq for PingEventHookConfigContentType
Source§fn eq(&self, other: &PingEventHookConfigContentType) -> bool
fn eq(&self, other: &PingEventHookConfigContentType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PingEventHookConfigContentType
impl PartialOrd for PingEventHookConfigContentType
Source§impl TryFrom<&String> for PingEventHookConfigContentType
impl TryFrom<&String> for PingEventHookConfigContentType
Source§impl TryFrom<&str> for PingEventHookConfigContentType
impl TryFrom<&str> for PingEventHookConfigContentType
impl Copy for PingEventHookConfigContentType
impl Eq for PingEventHookConfigContentType
impl StructuralPartialEq for PingEventHookConfigContentType
Auto Trait Implementations§
impl Freeze for PingEventHookConfigContentType
impl RefUnwindSafe for PingEventHookConfigContentType
impl Send for PingEventHookConfigContentType
impl Sync for PingEventHookConfigContentType
impl Unpin for PingEventHookConfigContentType
impl UnwindSafe for PingEventHookConfigContentType
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