blob: c49ef23066c0fa9701ebbdca4d25604810f4fe7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use chrono::naive::date::NaiveDate;
use chrono::offset::fixed::FixedOffset;
pub struct Context {
pub timezone: FixedOffset,
pub override_date: Option<NaiveDate>,
pub channel: Option<String>,
}
impl Default for Context {
fn default() -> Context {
Context {
timezone: FixedOffset::west(0),
override_date: None,
channel: None,
}
}
}
|