pub struct DisruptionPeriod {
pub start: NaiveDateTime,
pub end: NaiveDateTime,
}
Fields§
§start: NaiveDateTime
§end: NaiveDateTime
Trait Implementations§
Source§impl Clone for DisruptionPeriod
impl Clone for DisruptionPeriod
Source§fn clone(&self) -> DisruptionPeriod
fn clone(&self) -> DisruptionPeriod
Returns a copy of the value. Read more
1.0.0 · 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 DisruptionPeriod
impl Debug for DisruptionPeriod
Source§impl<'de> Deserialize<'de> for DisruptionPeriod
impl<'de> Deserialize<'de> for DisruptionPeriod
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 DisruptionPeriod
impl PartialEq for DisruptionPeriod
Source§impl Serialize for DisruptionPeriod
impl Serialize for DisruptionPeriod
impl StructuralPartialEq for DisruptionPeriod
Auto Trait Implementations§
impl Freeze for DisruptionPeriod
impl RefUnwindSafe for DisruptionPeriod
impl Send for DisruptionPeriod
impl Sync for DisruptionPeriod
impl Unpin for DisruptionPeriod
impl UnwindSafe for DisruptionPeriod
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