pub struct CreateNotificationWithRetryOptions {
pub max_retries: u32,
pub base_delay: Duration,
}Expand description
Options for create_notification_with_retry.
Fields§
§max_retries: u32Retries after the initial attempt. Default 3.
base_delay: DurationBackoff base used when the response carries no Retry-After header.
Clamped to [1s, 60s]. Default 1s.
Trait Implementations§
Source§impl Clone for CreateNotificationWithRetryOptions
impl Clone for CreateNotificationWithRetryOptions
Source§fn clone(&self) -> CreateNotificationWithRetryOptions
fn clone(&self) -> CreateNotificationWithRetryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateNotificationWithRetryOptions
impl RefUnwindSafe for CreateNotificationWithRetryOptions
impl Send for CreateNotificationWithRetryOptions
impl Sync for CreateNotificationWithRetryOptions
impl Unpin for CreateNotificationWithRetryOptions
impl UnsafeUnpin for CreateNotificationWithRetryOptions
impl UnwindSafe for CreateNotificationWithRetryOptions
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