pub struct CandidateInfo {
pub op_id: OpId,
pub stage_id: StageId,
pub intent_id: Option<IntentId>,
}Expand description
Per-candidate metadata surfaced by Store::list_candidates
(#294). Returned sorted by op_id for deterministic output.
Fields§
§op_id: OpId§stage_id: StageId§intent_id: Option<IntentId>Author intent. Always set for Candidate ops emitted via
Store::propose_candidate; None only if a
hand-written raw op skipped the intent tag.
Trait Implementations§
Source§impl Clone for CandidateInfo
impl Clone for CandidateInfo
Source§fn clone(&self) -> CandidateInfo
fn clone(&self) -> CandidateInfo
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 CandidateInfo
impl Debug for CandidateInfo
Source§impl<'de> Deserialize<'de> for CandidateInfo
impl<'de> Deserialize<'de> for CandidateInfo
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 CandidateInfo
Source§impl PartialEq for CandidateInfo
impl PartialEq for CandidateInfo
Source§impl Serialize for CandidateInfo
impl Serialize for CandidateInfo
impl StructuralPartialEq for CandidateInfo
Auto Trait Implementations§
impl Freeze for CandidateInfo
impl RefUnwindSafe for CandidateInfo
impl Send for CandidateInfo
impl Sync for CandidateInfo
impl Unpin for CandidateInfo
impl UnsafeUnpin for CandidateInfo
impl UnwindSafe for CandidateInfo
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.