lattice-sdk 0.1.1

Rust SDK for Lattice API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub use crate::prelude::*;

/// A Schedule associated with this entity
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct Schedule {
    /// expression that represents this schedule's "ON" state
    #[serde(skip_serializing_if = "Option::is_none")]
    pub windows: Option<Vec<CronWindow>>,
    /// A unique identifier for this schedule.
    #[serde(rename = "scheduleId")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub schedule_id: Option<String>,
    /// The schedule type
    #[serde(rename = "scheduleType")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub schedule_type: Option<ScheduleScheduleType>,
}