pub struct ModelInput {
pub current_context: StructuredContext,
pub behavior_profile: UserBehaviorProfile,
pub recent_feedback: Vec<RecentDecisionRecord>,
}Expand description
Complete input made available to model backends.
current_context remains the only required field. The other fields are
derived after the privacy air-gap from prior sanitized windows and audit
records, so raw notification text, file paths, and other local PII still do
not cross the model boundary.
Fields§
§current_context: StructuredContext§behavior_profile: UserBehaviorProfile§recent_feedback: Vec<RecentDecisionRecord>Implementations§
Source§impl ModelInput
impl ModelInput
pub fn current_only(current_context: StructuredContext) -> Self
Trait Implementations§
Source§impl Clone for ModelInput
impl Clone for ModelInput
Source§fn clone(&self) -> ModelInput
fn clone(&self) -> ModelInput
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 ModelInput
impl Debug for ModelInput
Source§impl<'de> Deserialize<'de> for ModelInput
impl<'de> Deserialize<'de> for ModelInput
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 ModelInput
impl RefUnwindSafe for ModelInput
impl Send for ModelInput
impl Sync for ModelInput
impl Unpin for ModelInput
impl UnsafeUnpin for ModelInput
impl UnwindSafe for ModelInput
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