pub struct KaskadeTimeInterval {
pub start: Option<UtcMinuteDateTime>,
pub end: UtcMinuteDateTime,
}Expand description
Time interval (separate start/end elements, minute precision).
Fields§
§start: Option<UtcMinuteDateTime>Interval start timestamp (optional — absent for non-time-restricted measures).
end: UtcMinuteDateTimeInterval end timestamp (required — marks when the emergency measure expires).
Trait Implementations§
Source§impl Clone for KaskadeTimeInterval
impl Clone for KaskadeTimeInterval
Source§fn clone(&self) -> KaskadeTimeInterval
fn clone(&self) -> KaskadeTimeInterval
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KaskadeTimeInterval
impl Debug for KaskadeTimeInterval
Source§impl<'de> Deserialize<'de> for KaskadeTimeInterval
impl<'de> Deserialize<'de> for KaskadeTimeInterval
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
Source§impl PartialEq for KaskadeTimeInterval
impl PartialEq for KaskadeTimeInterval
Source§fn eq(&self, other: &KaskadeTimeInterval) -> bool
fn eq(&self, other: &KaskadeTimeInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KaskadeTimeInterval
impl Serialize for KaskadeTimeInterval
impl StructuralPartialEq for KaskadeTimeInterval
Auto Trait Implementations§
impl Freeze for KaskadeTimeInterval
impl RefUnwindSafe for KaskadeTimeInterval
impl Send for KaskadeTimeInterval
impl Sync for KaskadeTimeInterval
impl Unpin for KaskadeTimeInterval
impl UnsafeUnpin for KaskadeTimeInterval
impl UnwindSafe for KaskadeTimeInterval
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