pub struct InvokeDecisioning {
pub source: String,
pub correlation_id: Option<String>,
pub context: CurrentContext,
}Expand description
Event to trigger the decision-making phase.
This event initiates the decision process where the agent evaluates the current plan and history to decide on the next action.
Fields§
§source: String§correlation_id: Option<String>§context: CurrentContextThe current context as we work through our response.
Trait Implementations§
Source§impl Clone for InvokeDecisioning
impl Clone for InvokeDecisioning
Source§fn clone(&self) -> InvokeDecisioning
fn clone(&self) -> InvokeDecisioning
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 InvokeDecisioning
impl Debug for InvokeDecisioning
Source§impl<'de> Deserialize<'de> for InvokeDecisioning
impl<'de> Deserialize<'de> for InvokeDecisioning
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
Source§impl Event for InvokeDecisioning
impl Event for InvokeDecisioning
Source§fn correlation_id(&self) -> Option<&str>
fn correlation_id(&self) -> Option<&str>
Returns the correlation ID if set
Source§fn set_correlation_id(&mut self, id: String)
fn set_correlation_id(&mut self, id: String)
Sets the correlation ID
Auto Trait Implementations§
impl Freeze for InvokeDecisioning
impl RefUnwindSafe for InvokeDecisioning
impl Send for InvokeDecisioning
impl Sync for InvokeDecisioning
impl Unpin for InvokeDecisioning
impl UnwindSafe for InvokeDecisioning
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