pub struct IntentMeta {
pub source: IntentSource,
pub priority: Option<Priority>,
pub expected_latency_ms: Option<u64>,
pub confidence: Option<Confidence>,
}Expand description
Execution metadata attached to an intent.
All fields are optional; callers set what they know. The resolver / executor may use these for scheduling, UX feedback, or Human-in-the-Loop gating.
Fields§
§source: IntentSourceWho issued the intent (diagnostic / audit).
priority: Option<Priority>Scheduling priority.
expected_latency_ms: Option<u64>Estimated execution time in milliseconds (UX feedback).
confidence: Option<Confidence>Issuer’s confidence that this intent is correct. Below a threshold → Human-in-the-Loop confirmation.
Trait Implementations§
Source§impl Clone for IntentMeta
impl Clone for IntentMeta
Source§fn clone(&self) -> IntentMeta
fn clone(&self) -> IntentMeta
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 IntentMeta
impl Debug for IntentMeta
Source§impl Default for IntentMeta
impl Default for IntentMeta
Source§fn default() -> IntentMeta
fn default() -> IntentMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntentMeta
impl<'de> Deserialize<'de> for IntentMeta
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 IntentMeta
impl RefUnwindSafe for IntentMeta
impl Send for IntentMeta
impl Sync for IntentMeta
impl Unpin for IntentMeta
impl UnsafeUnpin for IntentMeta
impl UnwindSafe for IntentMeta
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