pub enum PayloadFormat {
JsonApiV1,
None,
}Variants§
JsonApiV1
The payload will be a UTF-8 string containing the resource representation of the object’s metadata.
None
No payload is included with the notification.
Trait Implementations§
source§impl Clone for PayloadFormat
impl Clone for PayloadFormat
source§fn clone(&self) -> PayloadFormat
fn clone(&self) -> PayloadFormat
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 PayloadFormat
impl Debug for PayloadFormat
source§impl Default for PayloadFormat
impl Default for PayloadFormat
source§impl<'de> Deserialize<'de> for PayloadFormat
impl<'de> Deserialize<'de> for PayloadFormat
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 PartialEq<PayloadFormat> for PayloadFormat
impl PartialEq<PayloadFormat> for PayloadFormat
source§fn eq(&self, other: &PayloadFormat) -> bool
fn eq(&self, other: &PayloadFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PayloadFormat
impl Serialize for PayloadFormat
impl Eq for PayloadFormat
impl StructuralEq for PayloadFormat
impl StructuralPartialEq for PayloadFormat
Auto Trait Implementations§
impl RefUnwindSafe for PayloadFormat
impl Send for PayloadFormat
impl Sync for PayloadFormat
impl Unpin for PayloadFormat
impl UnwindSafe for PayloadFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.