pub struct AnswerPermission {
pub agent: String,
pub request: String,
pub allow: bool,
pub always: bool,
pub input: Value,
pub message: Option<String>,
pub resume: Option<String>,
pub call: String,
pub rules: Value,
}Fields§
§agent: String§request: String§allow: bool§always: boolAllowed for the rest of the session.
input: ValueThe tool’s input, maybe changed, when allowed.
message: Option<String>What the agent is told, when refused.
resume: Option<String>A plan approved: the mode its work goes on in (the one the agent was in before Plan).
call: StringThe call it answers (Item::Ask::call).
rules: Value« Toujours »: the rules of Item::Ask::suggestions it goes by.
Trait Implementations§
Source§impl Clone for AnswerPermission
impl Clone for AnswerPermission
Source§impl Debug for AnswerPermission
impl Debug for AnswerPermission
Source§impl<'de> Deserialize<'de> for AnswerPermission
impl<'de> Deserialize<'de> for AnswerPermission
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 PartialEq for AnswerPermission
impl PartialEq for AnswerPermission
Source§impl Serialize for AnswerPermission
impl Serialize for AnswerPermission
impl StructuralPartialEq for AnswerPermission
Auto Trait Implementations§
impl Freeze for AnswerPermission
impl RefUnwindSafe for AnswerPermission
impl Send for AnswerPermission
impl Sync for AnswerPermission
impl Unpin for AnswerPermission
impl UnsafeUnpin for AnswerPermission
impl UnwindSafe for AnswerPermission
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