pub struct AdapterActionRef {
pub adapter: String,
pub action: String,
pub params_schema: BTreeMap<String, String>,
pub description: String,
pub mutates_state: bool,
pub requires_verification: bool,
pub returns_data: bool,
}Expand description
Adapter-backed action currently available to a planner.
This is the structured form of “App-Specific Actions”. It lets any planner/runtime discover app-specific operations without scraping prompt prose, while still leaving each planner free to render or reason over the action catalogue in its own way.
Fields§
§adapter: String§action: String§params_schema: BTreeMap<String, String>§description: String§mutates_state: bool§requires_verification: bool§returns_data: boolTrait Implementations§
Source§impl Clone for AdapterActionRef
impl Clone for AdapterActionRef
Source§fn clone(&self) -> AdapterActionRef
fn clone(&self) -> AdapterActionRef
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 AdapterActionRef
impl Debug for AdapterActionRef
Source§impl<'de> Deserialize<'de> for AdapterActionRef
impl<'de> Deserialize<'de> for AdapterActionRef
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 AdapterActionRef
impl RefUnwindSafe for AdapterActionRef
impl Send for AdapterActionRef
impl Sync for AdapterActionRef
impl Unpin for AdapterActionRef
impl UnsafeUnpin for AdapterActionRef
impl UnwindSafe for AdapterActionRef
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