pub struct OverlapWitness {
pub id: Id,
pub witness_kind: OverlapWitnessKind,
pub shared_structure: SharedStructure,
pub participant_mappings: Vec<ParticipantMapping>,
pub scope: Scope,
pub context: Id,
pub evidence: Vec<Id>,
pub confidence: Confidence,
pub status: ReviewStatus,
}Expand description
Reviewable evidence for what is shared inside a correspondence.
Fields§
§id: IdWitness identifier.
witness_kind: OverlapWitnessKindWitness kind.
Concrete shared structure.
participant_mappings: Vec<ParticipantMapping>Participant-to-shared-structure mappings.
scope: ScopeScope in which the witness applies.
context: IdContext in which the witness is valid.
evidence: Vec<Id>Evidence identifiers supporting the witness.
confidence: ConfidenceConfidence in the witness.
status: ReviewStatusReview status of this witness.
Implementations§
Source§impl OverlapWitness
impl OverlapWitness
Sourcepub fn supports_accepted_semantic_overlap(&self) -> bool
pub fn supports_accepted_semantic_overlap(&self) -> bool
Returns true when this witness can support an accepted semantic overlap.
Trait Implementations§
Source§impl Clone for OverlapWitness
impl Clone for OverlapWitness
Source§fn clone(&self) -> OverlapWitness
fn clone(&self) -> OverlapWitness
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 OverlapWitness
impl Debug for OverlapWitness
Source§impl<'de> Deserialize<'de> for OverlapWitness
impl<'de> Deserialize<'de> for OverlapWitness
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 OverlapWitness
impl PartialEq for OverlapWitness
Source§fn eq(&self, other: &OverlapWitness) -> bool
fn eq(&self, other: &OverlapWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OverlapWitness
impl Serialize for OverlapWitness
impl StructuralPartialEq for OverlapWitness
Auto Trait Implementations§
impl Freeze for OverlapWitness
impl RefUnwindSafe for OverlapWitness
impl Send for OverlapWitness
impl Sync for OverlapWitness
impl Unpin for OverlapWitness
impl UnsafeUnpin for OverlapWitness
impl UnwindSafe for OverlapWitness
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