pub struct DiscoveredCandidate {
pub dedupe_key: String,
pub candidate_source: AutonomousCandidateSource,
pub candidate_class: Option<BoundedTaskClass>,
pub signals: Vec<String>,
pub accepted: bool,
pub reason_code: AutonomousIntakeReasonCode,
pub summary: String,
pub failure_reason: Option<String>,
pub recovery_hint: Option<String>,
pub fail_closed: bool,
}Expand description
A candidate discovered autonomously from CI or runtime signals without a caller-supplied issue number.
Fields§
§dedupe_key: StringStable identity hash, deterministic for the same raw signals.
candidate_source: AutonomousCandidateSourceClassified signal source.
candidate_class: Option<BoundedTaskClass>Normalised candidate class (reuses BoundedTaskClass).
signals: Vec<String>Normalised signal tokens used as the discovered work description.
accepted: boolWhether this candidate was accepted for further work.
reason_code: AutonomousIntakeReasonCodeOutcome reason code.
summary: StringHuman-readable summary.
failure_reason: Option<String>§recovery_hint: Option<String>§fail_closed: boolFail-closed flag: true on any non-accepted outcome.
Trait Implementations§
Source§impl Clone for DiscoveredCandidate
impl Clone for DiscoveredCandidate
Source§fn clone(&self) -> DiscoveredCandidate
fn clone(&self) -> DiscoveredCandidate
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 DiscoveredCandidate
impl Debug for DiscoveredCandidate
Source§impl<'de> Deserialize<'de> for DiscoveredCandidate
impl<'de> Deserialize<'de> for DiscoveredCandidate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiscoveredCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiscoveredCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiscoveredCandidate
impl PartialEq for DiscoveredCandidate
Source§impl Serialize for DiscoveredCandidate
impl Serialize for DiscoveredCandidate
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DiscoveredCandidate
impl StructuralPartialEq for DiscoveredCandidate
Auto Trait Implementations§
impl Freeze for DiscoveredCandidate
impl RefUnwindSafe for DiscoveredCandidate
impl Send for DiscoveredCandidate
impl Sync for DiscoveredCandidate
impl Unpin for DiscoveredCandidate
impl UnsafeUnpin for DiscoveredCandidate
impl UnwindSafe for DiscoveredCandidate
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§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.