pub enum DeliveryType {
Push,
Pull,
}Expand description
DeliveryType : Delivery mode for messages. ‘push’ for HTTP push delivery where messages are sent to a webhook endpoint, ‘pull’ for polling where the trigger actively fetches messages. Delivery mode for messages. ‘push’ for HTTP push delivery where messages are sent to a webhook endpoint, ‘pull’ for polling where the trigger actively fetches messages.
Variants§
Trait Implementations§
Source§impl Clone for DeliveryType
impl Clone for DeliveryType
impl Copy for DeliveryType
Source§impl Debug for DeliveryType
impl Debug for DeliveryType
Source§impl Default for DeliveryType
impl Default for DeliveryType
Source§fn default() -> DeliveryType
fn default() -> DeliveryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeliveryType
impl<'de> Deserialize<'de> for DeliveryType
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 Display for DeliveryType
impl Display for DeliveryType
impl Eq for DeliveryType
Source§impl Hash for DeliveryType
impl Hash for DeliveryType
Source§impl Ord for DeliveryType
impl Ord for DeliveryType
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeliveryType
impl PartialEq for DeliveryType
Source§impl PartialOrd for DeliveryType
impl PartialOrd for DeliveryType
Source§impl Serialize for DeliveryType
impl Serialize for DeliveryType
impl StructuralPartialEq for DeliveryType
Auto Trait Implementations§
impl Freeze for DeliveryType
impl RefUnwindSafe for DeliveryType
impl Send for DeliveryType
impl Sync for DeliveryType
impl Unpin for DeliveryType
impl UnsafeUnpin for DeliveryType
impl UnwindSafe for DeliveryType
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