pub struct ValidatedExtraction {
pub entities: Vec<Entity>,
pub relations: Vec<Relation>,
pub facts: Vec<Fact>,
pub needs_review: Vec<NeedsReviewItem>,
}Expand description
What validate produces. The entities/relations/facts lists hold
items that passed validation and are safe to write to storage; the
needs_review list holds items that failed with a structured reason so the
ingest fan-out can publish them to the verify queue (D-19).
Fields§
§entities: Vec<Entity>§relations: Vec<Relation>§facts: Vec<Fact>§needs_review: Vec<NeedsReviewItem>Trait Implementations§
Source§impl Clone for ValidatedExtraction
impl Clone for ValidatedExtraction
Source§fn clone(&self) -> ValidatedExtraction
fn clone(&self) -> ValidatedExtraction
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 ValidatedExtraction
impl Debug for ValidatedExtraction
Source§impl Default for ValidatedExtraction
impl Default for ValidatedExtraction
Source§fn default() -> ValidatedExtraction
fn default() -> ValidatedExtraction
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidatedExtraction
impl PartialEq for ValidatedExtraction
impl StructuralPartialEq for ValidatedExtraction
Auto Trait Implementations§
impl Freeze for ValidatedExtraction
impl RefUnwindSafe for ValidatedExtraction
impl Send for ValidatedExtraction
impl Sync for ValidatedExtraction
impl Unpin for ValidatedExtraction
impl UnsafeUnpin for ValidatedExtraction
impl UnwindSafe for ValidatedExtraction
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more