pub enum MetaDeletedHookConfigContentType {
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 MetaDeletedHookConfigContentType
impl Clone for MetaDeletedHookConfigContentType
Source§fn clone(&self) -> MetaDeletedHookConfigContentType
fn clone(&self) -> MetaDeletedHookConfigContentType
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 MetaDeletedHookConfigContentType
impl<'de> Deserialize<'de> for MetaDeletedHookConfigContentType
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<&MetaDeletedHookConfigContentType> for MetaDeletedHookConfigContentType
impl From<&MetaDeletedHookConfigContentType> for MetaDeletedHookConfigContentType
Source§fn from(value: &MetaDeletedHookConfigContentType) -> Self
fn from(value: &MetaDeletedHookConfigContentType) -> Self
Converts to this type from the input type.
Source§impl Ord for MetaDeletedHookConfigContentType
impl Ord for MetaDeletedHookConfigContentType
Source§fn cmp(&self, other: &MetaDeletedHookConfigContentType) -> Ordering
fn cmp(&self, other: &MetaDeletedHookConfigContentType) -> 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 MetaDeletedHookConfigContentType
impl PartialEq for MetaDeletedHookConfigContentType
Source§fn eq(&self, other: &MetaDeletedHookConfigContentType) -> bool
fn eq(&self, other: &MetaDeletedHookConfigContentType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for MetaDeletedHookConfigContentType
impl PartialOrd for MetaDeletedHookConfigContentType
Source§impl TryFrom<&String> for MetaDeletedHookConfigContentType
impl TryFrom<&String> for MetaDeletedHookConfigContentType
Source§impl TryFrom<&str> for MetaDeletedHookConfigContentType
impl TryFrom<&str> for MetaDeletedHookConfigContentType
impl Copy for MetaDeletedHookConfigContentType
impl Eq for MetaDeletedHookConfigContentType
impl StructuralPartialEq for MetaDeletedHookConfigContentType
Auto Trait Implementations§
impl Freeze for MetaDeletedHookConfigContentType
impl RefUnwindSafe for MetaDeletedHookConfigContentType
impl Send for MetaDeletedHookConfigContentType
impl Sync for MetaDeletedHookConfigContentType
impl Unpin for MetaDeletedHookConfigContentType
impl UnwindSafe for MetaDeletedHookConfigContentType
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