pub struct OutboundWebhookEvent {Show 15 fields
pub attempt_count: Option<i32>,
pub created_at: Option<DateTime<Utc>>,
pub error: Option<String>,
pub event_id: Option<String>,
pub event_type: Option<String>,
pub id: Option<Uuid>,
pub last_attempt_at: Option<DateTime<Utc>>,
pub latency_ms: Option<i32>,
pub next_attempt_at: Option<DateTime<Utc>>,
pub payload: Map<String, Value>,
pub response_body: Option<String>,
pub response_status: Option<i32>,
pub status: Option<String>,
pub updated_at: Option<DateTime<Utc>>,
pub webhook_config_id: Option<Uuid>,
}Expand description
OutboundWebhookEvent
JSON schema
{
"type": "object",
"properties": {
"attempt_count": {
"type": "integer",
"format": "int32"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"error": {
"type": "string"
},
"event_id": {
"type": "string"
},
"event_type": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
},
"last_attempt_at": {
"type": "string",
"format": "date-time"
},
"latency_ms": {
"type": "integer",
"format": "int32"
},
"next_attempt_at": {
"type": "string",
"format": "date-time"
},
"payload": {
"type": "object"
},
"response_body": {
"type": "string"
},
"response_status": {
"type": "integer",
"format": "int32"
},
"status": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"webhook_config_id": {
"type": "string",
"format": "uuid"
}
}
}Fields§
§attempt_count: Option<i32>§created_at: Option<DateTime<Utc>>§error: Option<String>§event_id: Option<String>§event_type: Option<String>§id: Option<Uuid>§last_attempt_at: Option<DateTime<Utc>>§latency_ms: Option<i32>§next_attempt_at: Option<DateTime<Utc>>§payload: Map<String, Value>§response_body: Option<String>§response_status: Option<i32>§status: Option<String>§updated_at: Option<DateTime<Utc>>§webhook_config_id: Option<Uuid>Trait Implementations§
Source§impl Clone for OutboundWebhookEvent
impl Clone for OutboundWebhookEvent
Source§fn clone(&self) -> OutboundWebhookEvent
fn clone(&self) -> OutboundWebhookEvent
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 OutboundWebhookEvent
impl Debug for OutboundWebhookEvent
Source§impl Default for OutboundWebhookEvent
impl Default for OutboundWebhookEvent
Source§impl<'de> Deserialize<'de> for OutboundWebhookEvent
impl<'de> Deserialize<'de> for OutboundWebhookEvent
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 From<&OutboundWebhookEvent> for OutboundWebhookEvent
impl From<&OutboundWebhookEvent> for OutboundWebhookEvent
Source§fn from(value: &OutboundWebhookEvent) -> Self
fn from(value: &OutboundWebhookEvent) -> Self
Converts to this type from the input type.
Source§impl From<OutboundWebhookEvent> for ModelRelayApi
impl From<OutboundWebhookEvent> for ModelRelayApi
Source§fn from(value: OutboundWebhookEvent) -> Self
fn from(value: OutboundWebhookEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutboundWebhookEvent
impl PartialEq for OutboundWebhookEvent
Source§impl Serialize for OutboundWebhookEvent
impl Serialize for OutboundWebhookEvent
impl StructuralPartialEq for OutboundWebhookEvent
Auto Trait Implementations§
impl Freeze for OutboundWebhookEvent
impl RefUnwindSafe for OutboundWebhookEvent
impl Send for OutboundWebhookEvent
impl Sync for OutboundWebhookEvent
impl Unpin for OutboundWebhookEvent
impl UnwindSafe for OutboundWebhookEvent
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