pub struct AcpOptions {
pub mode: String,
pub model: String,
pub reasoning_effort: String,
pub allow_permissions: bool,
}Expand description
The [client.acp] table, in the shape this crate can hold without a config
dependency: every field already defaulted, and the permission mode reduced to
the one decision a backend makes with it.
Fields§
§mode: Stringsession/set_mode id. Empty leaves the agent’s own default.
model: Stringmodel config option value. Empty leaves the agent’s default.
reasoning_effort: Stringreasoning_effort config option value. Empty leaves the default.
allow_permissions: boolWhether this client answers an agent’s permission request with a grant. Off by default: the refusal is recorded and a supervisor decides.
Trait Implementations§
Source§impl Clone for AcpOptions
impl Clone for AcpOptions
Source§impl Debug for AcpOptions
impl Debug for AcpOptions
Source§impl Default for AcpOptions
impl Default for AcpOptions
impl Eq for AcpOptions
Source§impl PartialEq for AcpOptions
impl PartialEq for AcpOptions
impl StructuralPartialEq for AcpOptions
Auto Trait Implementations§
impl Freeze for AcpOptions
impl RefUnwindSafe for AcpOptions
impl Send for AcpOptions
impl Sync for AcpOptions
impl Unpin for AcpOptions
impl UnsafeUnpin for AcpOptions
impl UnwindSafe for AcpOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.