pub struct DeliveryEvent {
pub event_id: String,
pub send_request_id: SendRequestId,
pub kind: DeliveryEventKind,
pub occurred_at: Option<Timestamp>,
}Expand description
A single lifecycle event from
crate::PcsExternalClient::stream_send_request_events.
Fields§
§event_id: StringULID cursor — pass as after_event_id on reconnect to resume without
replay.
send_request_id: SendRequestId§kind: DeliveryEventKind§occurred_at: Option<Timestamp>Server-reported event time. None if the server omitted the field.
Trait Implementations§
Source§impl Clone for DeliveryEvent
impl Clone for DeliveryEvent
Source§fn clone(&self) -> DeliveryEvent
fn clone(&self) -> DeliveryEvent
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 moreAuto Trait Implementations§
impl Freeze for DeliveryEvent
impl RefUnwindSafe for DeliveryEvent
impl Send for DeliveryEvent
impl Sync for DeliveryEvent
impl Unpin for DeliveryEvent
impl UnsafeUnpin for DeliveryEvent
impl UnwindSafe for DeliveryEvent
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<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