use serde::{Deserialize, Serialize};

/// What initiated a scan.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[serde(rename_all = "snake_case")]
pub enum ScanTrigger {
    Scheduled,
    Webhook,
    Manual,
}
