pub struct ModelingSession {
pub id: String,
pub domain: String,
pub started_at: DateTime<Utc>,
pub confidence: f64,
pub gaps: Vec<ConfidenceGap>,
pub sources_ingested: Vec<String>,
pub tick_count: u64,
pub budget_remaining_ms: u64,
pub active: bool,
pub metadata: HashMap<String, Value>,
}Expand description
An active or suspended modeling session for a single domain.
Fields§
§id: StringUnique session identifier.
domain: StringDomain name (e.g., project name).
started_at: DateTime<Utc>When the session was started.
confidence: f64Current overall confidence (0.0 .. 1.0).
gaps: Vec<ConfidenceGap>Identified confidence gaps.
sources_ingested: Vec<String>Data sources that have been ingested.
tick_count: u64Number of cognitive ticks processed.
budget_remaining_ms: u64Remaining budget for this session.
active: boolWhether the session is currently active.
metadata: HashMap<String, Value>Arbitrary metadata.
Trait Implementations§
Source§impl Clone for ModelingSession
impl Clone for ModelingSession
Source§fn clone(&self) -> ModelingSession
fn clone(&self) -> ModelingSession
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 ModelingSession
impl Debug for ModelingSession
Source§impl<'de> Deserialize<'de> for ModelingSession
impl<'de> Deserialize<'de> for ModelingSession
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 ModelingSession
impl RefUnwindSafe for ModelingSession
impl Send for ModelingSession
impl Sync for ModelingSession
impl Unpin for ModelingSession
impl UnsafeUnpin for ModelingSession
impl UnwindSafe for ModelingSession
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