pub struct WebhookDeliveryConfig { /* private fields */ }Expand description
Retry parameters serve as integration-level defaults that can be overridden at runtime.
Server-side validation enforces:
- defaultRequestTimeoutSeconds maximum of 120
- defaultMaxRetryIntervalSeconds must be >= defaultRetryIntervalSeconds when both are provided
Implementations§
Source§impl WebhookDeliveryConfig
impl WebhookDeliveryConfig
Sourcepub fn default_request_timeout_seconds(&self) -> Option<i32>
pub fn default_request_timeout_seconds(&self) -> Option<i32>
Default HTTP request timeout in seconds (server default 10, range 5-120)
Sourcepub fn default_max_retries(&self) -> Option<i32>
pub fn default_max_retries(&self) -> Option<i32>
Default maximum delivery attempts before failing (server default 3, range 0-10)
Sourcepub fn default_retry_interval_seconds(&self) -> Option<i32>
pub fn default_retry_interval_seconds(&self) -> Option<i32>
Default initial interval between retry attempts in seconds (server default 15, range 5-300)
Sourcepub fn default_exponential_backoff(&self) -> Option<bool>
pub fn default_exponential_backoff(&self) -> Option<bool>
Whether to apply exponential backoff to retry intervals (server default true)
Sourcepub fn default_max_retry_interval_seconds(&self) -> Option<i32>
pub fn default_max_retry_interval_seconds(&self) -> Option<i32>
Default maximum interval between retries when using exponential backoff in seconds (server default 300, range 5-3600)
Sourcepub fn default_delivery_timeout_seconds(&self) -> Option<i32>
pub fn default_delivery_timeout_seconds(&self) -> Option<i32>
Default overall delivery timeout in seconds before giving up (server default 600, range 10-86400)
Trait Implementations§
Source§impl Clone for WebhookDeliveryConfig
impl Clone for WebhookDeliveryConfig
Source§fn clone(&self) -> WebhookDeliveryConfig
fn clone(&self) -> WebhookDeliveryConfig
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 WebhookDeliveryConfig
impl Debug for WebhookDeliveryConfig
Source§impl<'de> Deserialize<'de> for WebhookDeliveryConfig
impl<'de> Deserialize<'de> for WebhookDeliveryConfig
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 From<WebhookDeliveryConfig> for Builder<Complete>
impl From<WebhookDeliveryConfig> for Builder<Complete>
Source§fn from(v: WebhookDeliveryConfig) -> Self
fn from(v: WebhookDeliveryConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for WebhookDeliveryConfig
impl Hash for WebhookDeliveryConfig
Source§impl Ord for WebhookDeliveryConfig
impl Ord for WebhookDeliveryConfig
Source§fn cmp(&self, other: &WebhookDeliveryConfig) -> Ordering
fn cmp(&self, other: &WebhookDeliveryConfig) -> Ordering
1.21.0 · 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
Source§impl PartialEq for WebhookDeliveryConfig
impl PartialEq for WebhookDeliveryConfig
Source§impl PartialOrd for WebhookDeliveryConfig
impl PartialOrd for WebhookDeliveryConfig
Source§impl Serialize for WebhookDeliveryConfig
impl Serialize for WebhookDeliveryConfig
impl Copy for WebhookDeliveryConfig
impl Eq for WebhookDeliveryConfig
impl StructuralPartialEq for WebhookDeliveryConfig
Auto Trait Implementations§
impl Freeze for WebhookDeliveryConfig
impl RefUnwindSafe for WebhookDeliveryConfig
impl Send for WebhookDeliveryConfig
impl Sync for WebhookDeliveryConfig
impl Unpin for WebhookDeliveryConfig
impl UnwindSafe for WebhookDeliveryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request