pub struct SemanticOverlaySummary {
pub input_point_count: u64,
pub sampled_point_count: u64,
pub entity_count: u64,
pub visible_entity_count: u64,
pub class_count: u64,
pub mean_confidence_million: u32,
pub p95_confidence_million: u32,
pub coverage_million: u32,
pub source_identity_match: bool,
pub frame_identity_match: bool,
pub calibration_applied: bool,
}Expand description
Aggregate quality and source-binding metrics for an overlay.
Fields§
§input_point_count: u64Number of points/features available from the checked source artifact.
sampled_point_count: u64Number of points sampled into the model input.
entity_count: u64Number of semantic predictions emitted by the model.
visible_entity_count: u64Number of predictions with visible finite coordinates.
class_count: u64Number of class legend entries represented by predictions.
mean_confidence_million: u32Mean prediction confidence in millionths.
p95_confidence_million: u32P95 prediction confidence in millionths.
coverage_million: u32Sampled/input coverage in millionths.
source_identity_match: boolWhether the checked source identity matched the operation contract.
frame_identity_match: boolWhether the checked map frame matched the requested overlay frame.
calibration_applied: boolWhether source-bound clock/frame calibration was applied.
Implementations§
Source§impl SemanticOverlaySummary
impl SemanticOverlaySummary
Sourcepub fn try_new(
input_point_count: u64,
sampled_point_count: u64,
entity_count: u64,
visible_entity_count: u64,
class_count: u64,
mean_confidence_million: u32,
p95_confidence_million: u32,
coverage_million: u32,
source_identity_match: bool,
frame_identity_match: bool,
calibration_applied: bool,
) -> ViewerResult<Self>
pub fn try_new( input_point_count: u64, sampled_point_count: u64, entity_count: u64, visible_entity_count: u64, class_count: u64, mean_confidence_million: u32, p95_confidence_million: u32, coverage_million: u32, source_identity_match: bool, frame_identity_match: bool, calibration_applied: bool, ) -> ViewerResult<Self>
Creates and validates aggregate overlay metrics.
Sourcepub fn validate(&self) -> ViewerResult<()>
pub fn validate(&self) -> ViewerResult<()>
Validates count, confidence, coverage, and calibration invariants.
Trait Implementations§
Source§impl Clone for SemanticOverlaySummary
impl Clone for SemanticOverlaySummary
Source§fn clone(&self) -> SemanticOverlaySummary
fn clone(&self) -> SemanticOverlaySummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SemanticOverlaySummary
impl Debug for SemanticOverlaySummary
Source§impl<'de> Deserialize<'de> for SemanticOverlaySummary
impl<'de> Deserialize<'de> for SemanticOverlaySummary
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>,
Source§impl PartialEq for SemanticOverlaySummary
impl PartialEq for SemanticOverlaySummary
Source§fn eq(&self, other: &SemanticOverlaySummary) -> bool
fn eq(&self, other: &SemanticOverlaySummary) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticOverlaySummary
impl Serialize for SemanticOverlaySummary
impl Eq for SemanticOverlaySummary
impl StructuralPartialEq for SemanticOverlaySummary
Auto Trait Implementations§
impl Freeze for SemanticOverlaySummary
impl RefUnwindSafe for SemanticOverlaySummary
impl Send for SemanticOverlaySummary
impl Sync for SemanticOverlaySummary
impl Unpin for SemanticOverlaySummary
impl UnsafeUnpin for SemanticOverlaySummary
impl UnwindSafe for SemanticOverlaySummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§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>
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>
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