pub struct AttemptRecord {
pub num: u32,
pub outcome: AttemptOutcome,
pub notes: Option<String>,
pub agent: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
}Expand description
A single attempt record (claim→close cycle).
Fields§
§num: u32§outcome: AttemptOutcome§notes: Option<String>§agent: Option<String>§started_at: Option<DateTime<Utc>>§finished_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for AttemptRecord
impl Clone for AttemptRecord
Source§fn clone(&self) -> AttemptRecord
fn clone(&self) -> AttemptRecord
Returns a duplicate 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 AttemptRecord
impl Debug for AttemptRecord
Source§impl<'de> Deserialize<'de> for AttemptRecord
impl<'de> Deserialize<'de> for AttemptRecord
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 AttemptRecord
impl PartialEq for AttemptRecord
Source§impl Serialize for AttemptRecord
impl Serialize for AttemptRecord
impl StructuralPartialEq for AttemptRecord
Auto Trait Implementations§
impl Freeze for AttemptRecord
impl RefUnwindSafe for AttemptRecord
impl Send for AttemptRecord
impl Sync for AttemptRecord
impl Unpin for AttemptRecord
impl UnsafeUnpin for AttemptRecord
impl UnwindSafe for AttemptRecord
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