pub struct DecoderOutput {
pub state: CognitiveState,
pub confidence: f64,
pub transition: Option<StateTransition>,
pub brain_health_index: Option<f64>,
pub clinical_flags: Vec<String>,
pub timestamp: f64,
}Expand description
Output of the decoder pipeline.
Fields§
§state: CognitiveStateDecoded cognitive state (ensemble result).
confidence: f64Overall confidence in [0, 1].
transition: Option<StateTransition>Detected state transition, if any.
brain_health_index: Option<f64>Brain health index from clinical scorer, if configured.
clinical_flags: Vec<String>Clinical warning flags.
timestamp: f64Timestamp of the input data.
Trait Implementations§
Source§impl Clone for DecoderOutput
impl Clone for DecoderOutput
Source§fn clone(&self) -> DecoderOutput
fn clone(&self) -> DecoderOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 DecoderOutput
impl Debug for DecoderOutput
Source§impl<'de> Deserialize<'de> for DecoderOutput
impl<'de> Deserialize<'de> for DecoderOutput
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
Auto Trait Implementations§
impl Freeze for DecoderOutput
impl RefUnwindSafe for DecoderOutput
impl Send for DecoderOutput
impl Sync for DecoderOutput
impl Unpin for DecoderOutput
impl UnsafeUnpin for DecoderOutput
impl UnwindSafe for DecoderOutput
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