pub struct DeferredConfig {
pub max_age_secs: Option<u64>,
pub queue_url: String,
}Expand description
Deferred message configuration for SQS-based sources.
Fields§
§max_age_secs: Option<u64>Maximum age in seconds for deferred messages.
queue_url: StringSQS queue URL for deferred message processing.
Trait Implementations§
Source§impl Clone for DeferredConfig
impl Clone for DeferredConfig
Source§fn clone(&self) -> DeferredConfig
fn clone(&self) -> DeferredConfig
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 DeferredConfig
impl Debug for DeferredConfig
Source§impl Default for DeferredConfig
impl Default for DeferredConfig
Source§fn default() -> DeferredConfig
fn default() -> DeferredConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeferredConfig
impl<'de> Deserialize<'de> for DeferredConfig
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 HasFieldsMetadata for DeferredConfig
impl HasFieldsMetadata for DeferredConfig
Source§fn fields_metadata() -> Vec<FieldMetadata>
fn fields_metadata() -> Vec<FieldMetadata>
Returns a list of metadata for all fields in the struct.
Source§impl PartialEq for DeferredConfig
impl PartialEq for DeferredConfig
Source§impl Serialize for DeferredConfig
impl Serialize for DeferredConfig
impl StructuralPartialEq for DeferredConfig
Auto Trait Implementations§
impl Freeze for DeferredConfig
impl RefUnwindSafe for DeferredConfig
impl Send for DeferredConfig
impl Sync for DeferredConfig
impl Unpin for DeferredConfig
impl UnsafeUnpin for DeferredConfig
impl UnwindSafe for DeferredConfig
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.