pub struct ResolutionOutcome {
pub anchors: Vec<ResolvedAnchor>,
pub records: Vec<DetectionRecord>,
pub warnings: Vec<String>,
}Expand description
Per-detection resolution outcome.
Fields§
§anchors: Vec<ResolvedAnchor>Successfully built anchors (sorted later by crate::detections::prepare_detections).
records: Vec<DetectionRecord>One DetectionRecord per input detection (applied / resolved /
discarded). Caller is responsible for merging this with
pre-existing duplicate / out-of-window records.
warnings: Vec<String>Free-form warnings (e.g. coordinate-only detection beyond cutoff).
Trait Implementations§
Source§impl Clone for ResolutionOutcome
impl Clone for ResolutionOutcome
Source§fn clone(&self) -> ResolutionOutcome
fn clone(&self) -> ResolutionOutcome
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 moreAuto Trait Implementations§
impl Freeze for ResolutionOutcome
impl RefUnwindSafe for ResolutionOutcome
impl Send for ResolutionOutcome
impl Sync for ResolutionOutcome
impl Unpin for ResolutionOutcome
impl UnsafeUnpin for ResolutionOutcome
impl UnwindSafe for ResolutionOutcome
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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