#[non_exhaustive]pub struct ScoreDetection {
pub path: Option<String>,
pub fallback_reason: Option<String>,
}Expand description
Outcome of §4.3 score-field detection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: Option<String>jq-like path to the chosen score field. None when no numeric
field was identified — the strategy falls back to grouping (§5).
fallback_reason: Option<String>Reason emitted when no score was detected; surfaced via the
envelope’s result.detection.fallback_reason (§7).
Trait Implementations§
Source§impl Clone for ScoreDetection
impl Clone for ScoreDetection
Source§fn clone(&self) -> ScoreDetection
fn clone(&self) -> ScoreDetection
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 ScoreDetection
impl Debug for ScoreDetection
Source§impl PartialEq for ScoreDetection
impl PartialEq for ScoreDetection
impl StructuralPartialEq for ScoreDetection
Auto Trait Implementations§
impl Freeze for ScoreDetection
impl RefUnwindSafe for ScoreDetection
impl Send for ScoreDetection
impl Sync for ScoreDetection
impl Unpin for ScoreDetection
impl UnsafeUnpin for ScoreDetection
impl UnwindSafe for ScoreDetection
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