pub struct SimilarCodePhaseCompletion {
pub phase: SimilarCodePhase,
pub status: SimilarCodePhaseStatus,
pub processed: u64,
pub total: Option<u64>,
pub reason: Option<String>,
}Expand description
Accounting for one bounded generation phase.
Fields§
§phase: SimilarCodePhasePipeline phase.
status: SimilarCodePhaseStatusWhether this phase completed, skipped, or returned partial data.
processed: u64Number of admitted inputs processed by this phase.
total: Option<u64>Total admitted inputs known to this phase, when available.
reason: Option<String>Stable explanation when the phase did not complete.
Trait Implementations§
Source§impl Clone for SimilarCodePhaseCompletion
impl Clone for SimilarCodePhaseCompletion
Source§impl Debug for SimilarCodePhaseCompletion
impl Debug for SimilarCodePhaseCompletion
Source§impl<'de> Deserialize<'de> for SimilarCodePhaseCompletion
impl<'de> Deserialize<'de> for SimilarCodePhaseCompletion
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
impl Eq for SimilarCodePhaseCompletion
impl StructuralPartialEq for SimilarCodePhaseCompletion
Auto Trait Implementations§
impl Freeze for SimilarCodePhaseCompletion
impl RefUnwindSafe for SimilarCodePhaseCompletion
impl Send for SimilarCodePhaseCompletion
impl Sync for SimilarCodePhaseCompletion
impl Unpin for SimilarCodePhaseCompletion
impl UnsafeUnpin for SimilarCodePhaseCompletion
impl UnwindSafe for SimilarCodePhaseCompletion
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.