pub struct SimilarCodeInspectPacket {
pub candidate_id: String,
pub review_key: String,
pub availability: SimilarCodeEnrichmentAvailability,
pub graph_relationship: Option<String>,
pub left: SimilarCodeSideEvidence,
pub right: SimilarCodeSideEvidence,
}Expand description
Bounded source-grounded packet for one immutable candidate.
Fields§
§candidate_id: StringCandidate identity this packet describes.
review_key: StringContent-stable review key this packet describes.
availability: SimilarCodeEnrichmentAvailabilityAvailability of every optional evidence source.
graph_relationship: Option<String>Graph relationship label, when relationship evidence is available.
left: SimilarCodeSideEvidenceEvidence for the candidate’s first location.
right: SimilarCodeSideEvidenceEvidence for the candidate’s second location.
Trait Implementations§
Source§impl Clone for SimilarCodeInspectPacket
impl Clone for SimilarCodeInspectPacket
Source§impl Debug for SimilarCodeInspectPacket
impl Debug for SimilarCodeInspectPacket
Source§impl<'de> Deserialize<'de> for SimilarCodeInspectPacket
impl<'de> Deserialize<'de> for SimilarCodeInspectPacket
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 SimilarCodeInspectPacket
impl PartialEq for SimilarCodeInspectPacket
Source§impl Serialize for SimilarCodeInspectPacket
impl Serialize for SimilarCodeInspectPacket
impl StructuralPartialEq for SimilarCodeInspectPacket
Auto Trait Implementations§
impl Freeze for SimilarCodeInspectPacket
impl RefUnwindSafe for SimilarCodeInspectPacket
impl Send for SimilarCodeInspectPacket
impl Sync for SimilarCodeInspectPacket
impl Unpin for SimilarCodeInspectPacket
impl UnsafeUnpin for SimilarCodeInspectPacket
impl UnwindSafe for SimilarCodeInspectPacket
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