pub struct IntentResult {
pub intent_id: String,
pub name: String,
pub ok: bool,
pub content: Value,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
Outcome of executing an intent.
Fields§
§intent_id: StringCorrelation ID (matches ActionIntent.id).
name: StringIntent name (for diagnostics).
ok: boolWhether execution succeeded.
content: ValueResult payload (tool output on success, error detail on failure).
error: Option<String>Error message (when ok == false).
duration_ms: u64Execution duration in milliseconds.
Trait Implementations§
Source§impl Clone for IntentResult
impl Clone for IntentResult
Source§fn clone(&self) -> IntentResult
fn clone(&self) -> IntentResult
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 IntentResult
impl Debug for IntentResult
Source§impl<'de> Deserialize<'de> for IntentResult
impl<'de> Deserialize<'de> for IntentResult
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 IntentResult
impl RefUnwindSafe for IntentResult
impl Send for IntentResult
impl Sync for IntentResult
impl Unpin for IntentResult
impl UnsafeUnpin for IntentResult
impl UnwindSafe for IntentResult
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