pub struct WebhookDeliveryRecord {
pub delivery_id: String,
pub event_id: String,
pub url: String,
pub status_code: i32,
pub status: String,
pub latency_ms: i64,
pub error: Option<String>,
pub attempt: i32,
pub timestamp: String,
}Expand description
Webhook delivery status.
Fields§
§delivery_id: StringUnique delivery ID.
event_id: StringThe event ID that triggered this delivery.
url: StringTarget webhook URL.
status_code: i32HTTP status code from the target (0 if connection failed).
status: StringDelivery status: “success”, “failed”, “pending”.
latency_ms: i64Response latency in milliseconds.
error: Option<String>Error message if delivery failed.
attempt: i32Number of attempts made.
timestamp: StringISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for WebhookDeliveryRecord
impl Clone for WebhookDeliveryRecord
Source§fn clone(&self) -> WebhookDeliveryRecord
fn clone(&self) -> WebhookDeliveryRecord
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 WebhookDeliveryRecord
impl Debug for WebhookDeliveryRecord
Source§impl<'de> Deserialize<'de> for WebhookDeliveryRecord
impl<'de> Deserialize<'de> for WebhookDeliveryRecord
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 WebhookDeliveryRecord
impl RefUnwindSafe for WebhookDeliveryRecord
impl Send for WebhookDeliveryRecord
impl Sync for WebhookDeliveryRecord
impl Unpin for WebhookDeliveryRecord
impl UnsafeUnpin for WebhookDeliveryRecord
impl UnwindSafe for WebhookDeliveryRecord
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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 moreSource§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