#[non_exhaustive]pub struct WebhookAlertTriggered {
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,
}Expand description
WebhookAlertTriggered is a resource of Alpr.sh’s API.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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: StringTrait Implementations§
Source§impl Clone for WebhookAlertTriggered
impl Clone for WebhookAlertTriggered
Source§impl Debug for WebhookAlertTriggered
impl Debug for WebhookAlertTriggered
Source§impl<'de> Deserialize<'de> for WebhookAlertTriggered
impl<'de> Deserialize<'de> for WebhookAlertTriggered
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 PartialEq for WebhookAlertTriggered
impl PartialEq for WebhookAlertTriggered
Source§impl Serialize for WebhookAlertTriggered
impl Serialize for WebhookAlertTriggered
impl StructuralPartialEq for WebhookAlertTriggered
Auto Trait Implementations§
impl Freeze for WebhookAlertTriggered
impl RefUnwindSafe for WebhookAlertTriggered
impl Send for WebhookAlertTriggered
impl Sync for WebhookAlertTriggered
impl Unpin for WebhookAlertTriggered
impl UnsafeUnpin for WebhookAlertTriggered
impl UnwindSafe for WebhookAlertTriggered
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