1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use serde_derive::{Deserialize, Serialize};

pub const ROUND_ROBIN: &'static str = "round_robin";
pub const RANDOM: &'static str = "random";

#[derive(Default, Debug, Serialize, Deserialize, Clone)]
pub struct WatchService {
    pub service_name: String,
    pub tag: Option<String>,
    pub passing_only: Option<bool>,
}