pub struct DueResolution {
pub date: NaiveDate,
pub reason: DueReason,
pub note: Option<String>,
}Expand description
A firing date with provenance and (where the override carried one) the operator’s note.
Fields§
§date: NaiveDate§reason: DueReason§note: Option<String>Trait Implementations§
Source§impl Clone for DueResolution
impl Clone for DueResolution
Source§fn clone(&self) -> DueResolution
fn clone(&self) -> DueResolution
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 DueResolution
impl Debug for DueResolution
Source§impl<'de> Deserialize<'de> for DueResolution
impl<'de> Deserialize<'de> for DueResolution
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 DueResolution
impl PartialEq for DueResolution
Source§fn eq(&self, other: &DueResolution) -> bool
fn eq(&self, other: &DueResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DueResolution
impl Serialize for DueResolution
impl Eq for DueResolution
impl StructuralPartialEq for DueResolution
Auto Trait Implementations§
impl Freeze for DueResolution
impl RefUnwindSafe for DueResolution
impl Send for DueResolution
impl Sync for DueResolution
impl Unpin for DueResolution
impl UnsafeUnpin for DueResolution
impl UnwindSafe for DueResolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.