pub struct SubscriptionDeliveryOptions {
pub max_latency_ms: Option<i64>,
}Expand description
Advisory delivery preferences for a single subscription.
Fields§
§max_latency_ms: Option<i64>Maximum time, in milliseconds, that the server may intentionally delay delivery while buffering/coalescing updates for this subscription.
A value of 0 requests immediate delivery with no intentional coalescing.
Trait Implementations§
Source§impl Clone for SubscriptionDeliveryOptions
impl Clone for SubscriptionDeliveryOptions
Source§fn clone(&self) -> SubscriptionDeliveryOptions
fn clone(&self) -> SubscriptionDeliveryOptions
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 moreSource§impl Debug for SubscriptionDeliveryOptions
impl Debug for SubscriptionDeliveryOptions
Source§impl Default for SubscriptionDeliveryOptions
impl Default for SubscriptionDeliveryOptions
Source§fn default() -> SubscriptionDeliveryOptions
fn default() -> SubscriptionDeliveryOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionDeliveryOptions
impl<'de> Deserialize<'de> for SubscriptionDeliveryOptions
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 SubscriptionDeliveryOptions
impl PartialEq for SubscriptionDeliveryOptions
Source§fn eq(&self, other: &SubscriptionDeliveryOptions) -> bool
fn eq(&self, other: &SubscriptionDeliveryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscriptionDeliveryOptions
Auto Trait Implementations§
impl Freeze for SubscriptionDeliveryOptions
impl RefUnwindSafe for SubscriptionDeliveryOptions
impl Send for SubscriptionDeliveryOptions
impl Sync for SubscriptionDeliveryOptions
impl Unpin for SubscriptionDeliveryOptions
impl UnsafeUnpin for SubscriptionDeliveryOptions
impl UnwindSafe for SubscriptionDeliveryOptions
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