pub struct QueueBatchConfig {
pub max_messages: u32,
pub max_window_seconds: u32,
}Expand description
Opt-in queue batching. Counts and windows are upper bounds, not guarantees. Providers may deliver smaller batches. Delivery remains at least once and unordered.
Fields§
§max_messages: u32Maximum deliveries per batch (1–100).
max_window_seconds: u32Maximum collection window in seconds (0–300). AWS may wait up to 20 seconds with sparse traffic even with a shorter window.
Implementations§
Trait Implementations§
Source§impl Clone for QueueBatchConfig
impl Clone for QueueBatchConfig
Source§impl Debug for QueueBatchConfig
impl Debug for QueueBatchConfig
Source§impl<'de> Deserialize<'de> for QueueBatchConfig
impl<'de> Deserialize<'de> for QueueBatchConfig
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
impl Eq for QueueBatchConfig
Source§impl PartialEq for QueueBatchConfig
impl PartialEq for QueueBatchConfig
Source§impl Serialize for QueueBatchConfig
impl Serialize for QueueBatchConfig
impl StructuralPartialEq for QueueBatchConfig
Auto Trait Implementations§
impl Forget for QueueBatchConfig
impl Freeze for QueueBatchConfig
impl RefUnwindSafe for QueueBatchConfig
impl Send for QueueBatchConfig
impl Sync for QueueBatchConfig
impl Unpin for QueueBatchConfig
impl UnsafeUnpin for QueueBatchConfig
impl UnwindSafe for QueueBatchConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.