pub struct Calendar {
pub from: Option<Option<String>>,
pub until: Option<Option<String>>,
pub dates: Option<Option<Vec<String>>>,
pub utc_offset: Option<Option<i32>>,
}Fields§
§from: Option<Option<String>>§until: Option<Option<String>>§dates: Option<Option<Vec<String>>>dates included in the calendar. In case no dates are provided the range is assumed to be valid. The date-time format is used to provide an offset to UTC per date.
utc_offset: Option<Option<i32>>offset to UTC in minutes (number of minutes to be added to get UTC dates)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Calendar
impl<'de> Deserialize<'de> for Calendar
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
impl StructuralPartialEq for Calendar
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin for Calendar
impl UnwindSafe for Calendar
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