pub type AlertTriggeredWebhookEvent = WebhookAlertTriggered;Expand description
The payload of alert.triggered. The
fields are the body’s own, flat: there is no wrapper around them.
Aliased Type§
pub struct AlertTriggeredWebhookEvent {
pub camera_id: Option<String>,
pub captured_at: String,
pub confidence: f64,
pub event: WebhookAlertTriggeredEvent,
pub id: String,
pub plate: String,
pub recognition_id: String,
pub rule_id: String,
pub rule_name: String,
pub skip: Option<Vec<String>>,
pub tenant_id: String,
}Fields§
§camera_id: Option<String>Ausente se a leitura não veio de uma câmera.
captured_at: String§confidence: f64De 0 a 1.
event: WebhookAlertTriggeredEvent§id: StringO id do disparo.
plate: String§recognition_id: StringA leitura que disparou o alerta.
rule_id: String§rule_name: String§skip: Option<Vec<String>>Os destinos que as listas de permitidos e de bloqueados excluíram deste disparo (internal, channel:
tenant_id: String