pub struct DeliveryContext {
pub is_redelivery: bool,
}Expand description
DeliveryContext : webhook’s delivery context information
Fields§
§is_redelivery: boolWhether the webhook event is a redelivered one or not.
Implementations§
Source§impl DeliveryContext
impl DeliveryContext
Sourcepub fn new(is_redelivery: bool) -> DeliveryContext
pub fn new(is_redelivery: bool) -> DeliveryContext
webhook’s delivery context information
Trait Implementations§
Source§impl Clone for DeliveryContext
impl Clone for DeliveryContext
Source§fn clone(&self) -> DeliveryContext
fn clone(&self) -> DeliveryContext
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 DeliveryContext
impl Debug for DeliveryContext
Source§impl Default for DeliveryContext
impl Default for DeliveryContext
Source§fn default() -> DeliveryContext
fn default() -> DeliveryContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeliveryContext
impl<'de> Deserialize<'de> for DeliveryContext
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 DeliveryContext
impl PartialEq for DeliveryContext
Source§impl Serialize for DeliveryContext
impl Serialize for DeliveryContext
impl StructuralPartialEq for DeliveryContext
Auto Trait Implementations§
impl Freeze for DeliveryContext
impl RefUnwindSafe for DeliveryContext
impl Send for DeliveryContext
impl Sync for DeliveryContext
impl Unpin for DeliveryContext
impl UnwindSafe for DeliveryContext
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