pub struct CostSimulationAgent { /* private fields */ }Implementations§
Source§impl CostSimulationAgent
impl CostSimulationAgent
pub fn new(config: CostSimulatorConfig) -> Self
pub fn default_config() -> Self
Trait Implementations§
Source§impl Suggestor for CostSimulationAgent
impl Suggestor for CostSimulationAgent
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 CostSimulationAgent
impl RefUnwindSafe for CostSimulationAgent
impl Send for CostSimulationAgent
impl Sync for CostSimulationAgent
impl Unpin for CostSimulationAgent
impl UnsafeUnpin for CostSimulationAgent
impl UnwindSafe for CostSimulationAgent
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