pub struct PolicyInput<'a> {
pub project_root: &'a Path,
pub agent: Option<&'a str>,
pub profile: &'a AgentProfile,
pub model_override: Option<&'a str>,
pub config_default_model: Option<&'a str>,
pub harness_override: Option<&'a str>,
pub effort_override: Option<&'a str>,
pub approval_override: Option<&'a str>,
pub sandbox_override: Option<&'a str>,
pub models_refresh: ModelsRefreshControl,
}Fields§
§project_root: &'a Path§agent: Option<&'a str>§profile: &'a AgentProfile§model_override: Option<&'a str>§config_default_model: Option<&'a str>§harness_override: Option<&'a str>§effort_override: Option<&'a str>§approval_override: Option<&'a str>§sandbox_override: Option<&'a str>§models_refresh: ModelsRefreshControlAuto Trait Implementations§
impl<'a> Freeze for PolicyInput<'a>
impl<'a> RefUnwindSafe for PolicyInput<'a>
impl<'a> Send for PolicyInput<'a>
impl<'a> Sync for PolicyInput<'a>
impl<'a> Unpin for PolicyInput<'a>
impl<'a> UnsafeUnpin for PolicyInput<'a>
impl<'a> UnwindSafe for PolicyInput<'a>
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> 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