pub struct PolicySimulationAgent { /* private fields */ }Implementations§
Source§impl PolicySimulationAgent
impl PolicySimulationAgent
pub fn new(config: PolicySimulatorConfig) -> Self
pub fn default_config() -> Self
Trait Implementations§
Source§impl Suggestor for PolicySimulationAgent
impl Suggestor for PolicySimulationAgent
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Human-readable name, used for logging and provenance. Read more
Source§fn dependencies(&self) -> &[ContextKey]
fn dependencies(&self) -> &[ContextKey]
Context keys this suggestor reads from. Read more
Source§fn accepts(&self, ctx: &dyn Context) -> bool
fn accepts(&self, ctx: &dyn Context) -> bool
Pure predicate: should this suggestor execute given the current context? Read more
Auto Trait Implementations§
impl Freeze for PolicySimulationAgent
impl RefUnwindSafe for PolicySimulationAgent
impl Send for PolicySimulationAgent
impl Sync for PolicySimulationAgent
impl Unpin for PolicySimulationAgent
impl UnsafeUnpin for PolicySimulationAgent
impl UnwindSafe for PolicySimulationAgent
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