pub struct AttemptDetail {
pub package: String,
pub version: String,
pub attempt: u32,
pub max_attempts: u32,
pub started_at: DateTime<Utc>,
pub ended_at: DateTime<Utc>,
pub error_class: Option<ErrorClass>,
pub next_attempt_at: Option<DateTime<Utc>>,
pub redacted_message: Option<String>,
}Expand description
Durable state record for one cargo publish attempt.
PackageProgress::attempts is the fast counter used by resume. This
detail log preserves operator-facing facts needed by status, resume
explainers, and release evidence before the final receipt exists.
Fields§
§package: String§version: String§attempt: u32§max_attempts: u32§started_at: DateTime<Utc>§ended_at: DateTime<Utc>§error_class: Option<ErrorClass>§next_attempt_at: Option<DateTime<Utc>>§redacted_message: Option<String>Trait Implementations§
Source§impl Clone for AttemptDetail
impl Clone for AttemptDetail
Source§fn clone(&self) -> AttemptDetail
fn clone(&self) -> AttemptDetail
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 AttemptDetail
impl Debug for AttemptDetail
Source§impl<'de> Deserialize<'de> for AttemptDetail
impl<'de> Deserialize<'de> for AttemptDetail
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 AttemptDetail
impl PartialEq for AttemptDetail
Source§fn eq(&self, other: &AttemptDetail) -> bool
fn eq(&self, other: &AttemptDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttemptDetail
impl Serialize for AttemptDetail
impl Eq for AttemptDetail
impl StructuralPartialEq for AttemptDetail
Auto Trait Implementations§
impl Freeze for AttemptDetail
impl RefUnwindSafe for AttemptDetail
impl Send for AttemptDetail
impl Sync for AttemptDetail
impl Unpin for AttemptDetail
impl UnsafeUnpin for AttemptDetail
impl UnwindSafe for AttemptDetail
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.