pub struct PayloadFormat {
pub notify_type: Option<String>,
pub formats: Option<Vec<String>>,
}Expand description
PayloadFormat : Webhook supported payload format type collections.
Fields§
§notify_type: Option<String>Webhook supported notify type.
formats: Option<Vec<String>>The supported payload formats for this notify type.
Implementations§
Source§impl PayloadFormat
impl PayloadFormat
Sourcepub fn new() -> PayloadFormat
pub fn new() -> PayloadFormat
Webhook supported payload format type collections.
Trait Implementations§
Source§impl Clone for PayloadFormat
impl Clone for PayloadFormat
Source§fn clone(&self) -> PayloadFormat
fn clone(&self) -> PayloadFormat
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 Debug for PayloadFormat
impl Debug for PayloadFormat
Source§impl Default for PayloadFormat
impl Default for PayloadFormat
Source§fn default() -> PayloadFormat
fn default() -> PayloadFormat
Returns the “default value” for a type. Read more
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 for PayloadFormat
impl PartialEq for PayloadFormat
Source§impl Serialize for PayloadFormat
impl Serialize for PayloadFormat
impl StructuralPartialEq for PayloadFormat
Auto Trait Implementations§
impl Freeze for PayloadFormat
impl RefUnwindSafe for PayloadFormat
impl Send for PayloadFormat
impl Sync for PayloadFormat
impl Unpin for PayloadFormat
impl UnwindSafe for PayloadFormat
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