pub struct AgentOverlay {
pub model: Option<String>,
pub harness: Option<String>,
pub effort: Option<String>,
pub approval: Option<String>,
pub sandbox: Option<String>,
pub autocompact: Option<i64>,
pub autocompact_pct: Option<i64>,
pub model_policies: Vec<ModelPolicyRule>,
}Expand description
Per-agent launch-bundle overlay policy in mars.toml [agents.<name>].
Fields§
§model: Option<String>§harness: Option<String>§effort: Option<String>§approval: Option<String>§sandbox: Option<String>§autocompact: Option<i64>§autocompact_pct: Option<i64>§model_policies: Vec<ModelPolicyRule>Trait Implementations§
Source§impl Clone for AgentOverlay
impl Clone for AgentOverlay
Source§fn clone(&self) -> AgentOverlay
fn clone(&self) -> AgentOverlay
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 AgentOverlay
impl Debug for AgentOverlay
Source§impl Default for AgentOverlay
impl Default for AgentOverlay
Source§fn default() -> AgentOverlay
fn default() -> AgentOverlay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentOverlay
impl<'de> Deserialize<'de> for AgentOverlay
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 AgentOverlay
impl PartialEq for AgentOverlay
Source§fn eq(&self, other: &AgentOverlay) -> bool
fn eq(&self, other: &AgentOverlay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentOverlay
impl Serialize for AgentOverlay
impl StructuralPartialEq for AgentOverlay
Auto Trait Implementations§
impl Freeze for AgentOverlay
impl RefUnwindSafe for AgentOverlay
impl Send for AgentOverlay
impl Sync for AgentOverlay
impl Unpin for AgentOverlay
impl UnsafeUnpin for AgentOverlay
impl UnwindSafe for AgentOverlay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more