pub struct NextAction {
pub kind: &'static str,
pub command: Option<String>,
pub reason: String,
}Expand description
Suggested next step for an agent.
Fields§
§kind: &'static str§command: Option<String>§reason: StringTrait Implementations§
Source§impl Clone for NextAction
impl Clone for NextAction
Source§fn clone(&self) -> NextAction
fn clone(&self) -> NextAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NextAction
impl Debug for NextAction
impl Eq for NextAction
Source§impl PartialEq for NextAction
impl PartialEq for NextAction
Source§fn eq(&self, other: &NextAction) -> bool
fn eq(&self, other: &NextAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NextAction
impl Serialize for NextAction
impl StructuralPartialEq for NextAction
Auto Trait Implementations§
impl Freeze for NextAction
impl RefUnwindSafe for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
impl UnwindSafe for NextAction
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