pub struct DeliveryConfig {
pub max_retries: u32,
pub initial_retry_delay: Duration,
pub max_retry_delay: Duration,
pub delivery_timeout: Duration,
pub compression: bool,
}Expand description
Delivery configuration
Fields§
§max_retries: u32Maximum retry attempts
initial_retry_delay: DurationInitial retry delay
max_retry_delay: DurationMaximum retry delay
delivery_timeout: DurationDelivery timeout
compression: boolEnable compression
Trait Implementations§
Source§impl Clone for DeliveryConfig
impl Clone for DeliveryConfig
Source§fn clone(&self) -> DeliveryConfig
fn clone(&self) -> DeliveryConfig
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 DeliveryConfig
impl Debug for DeliveryConfig
Source§impl Default for DeliveryConfig
impl Default for DeliveryConfig
Source§impl<'de> Deserialize<'de> for DeliveryConfig
impl<'de> Deserialize<'de> for DeliveryConfig
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
Auto Trait Implementations§
impl Freeze for DeliveryConfig
impl RefUnwindSafe for DeliveryConfig
impl Send for DeliveryConfig
impl Sync for DeliveryConfig
impl Unpin for DeliveryConfig
impl UnwindSafe for DeliveryConfig
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