pub struct InputHeader {
pub id: InputId,
pub timestamp: DateTime<Utc>,
pub source: InputOrigin,
pub durability: InputDurability,
pub visibility: InputVisibility,
pub idempotency_key: Option<IdempotencyKey>,
pub supersession_key: Option<SupersessionKey>,
pub correlation_id: Option<CorrelationId>,
}Expand description
Common header for all input variants.
Fields§
§id: InputIdUnique ID for this input.
timestamp: DateTime<Utc>When the input was created.
source: InputOriginSource of the input.
durability: InputDurabilityDurability requirement.
visibility: InputVisibilityVisibility controls.
idempotency_key: Option<IdempotencyKey>Optional idempotency key for dedup.
supersession_key: Option<SupersessionKey>Optional supersession key.
correlation_id: Option<CorrelationId>Optional correlation ID.
Trait Implementations§
Source§impl Clone for InputHeader
impl Clone for InputHeader
Source§fn clone(&self) -> InputHeader
fn clone(&self) -> InputHeader
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 InputHeader
impl Debug for InputHeader
Source§impl<'de> Deserialize<'de> for InputHeader
impl<'de> Deserialize<'de> for InputHeader
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
Auto Trait Implementations§
impl Freeze for InputHeader
impl RefUnwindSafe for InputHeader
impl Send for InputHeader
impl Sync for InputHeader
impl Unpin for InputHeader
impl UnsafeUnpin for InputHeader
impl UnwindSafe for InputHeader
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