pub struct ElevationOptions {
pub token_budget: Option<u64>,
pub high_budget_threshold: u64,
pub parent_allows_write: bool,
pub parent_allows_network: bool,
}Expand description
Options that refine elevation assessment beyond the IR itself.
Fields§
§token_budget: Option<u64>Token budget declared on the tool call (may outrank spec.budget).
high_budget_threshold: u64Threshold above which a token budget is considered high.
parent_allows_write: boolWhether the parent session currently allows writes.
parent_allows_network: boolWhether the parent session currently allows network.
Trait Implementations§
Source§impl Clone for ElevationOptions
impl Clone for ElevationOptions
Source§fn clone(&self) -> ElevationOptions
fn clone(&self) -> ElevationOptions
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 moreimpl Copy for ElevationOptions
Source§impl Debug for ElevationOptions
impl Debug for ElevationOptions
Source§impl Default for ElevationOptions
impl Default for ElevationOptions
impl Eq for ElevationOptions
Source§impl PartialEq for ElevationOptions
impl PartialEq for ElevationOptions
impl StructuralPartialEq for ElevationOptions
Auto Trait Implementations§
impl Freeze for ElevationOptions
impl RefUnwindSafe for ElevationOptions
impl Send for ElevationOptions
impl Sync for ElevationOptions
impl Unpin for ElevationOptions
impl UnsafeUnpin for ElevationOptions
impl UnwindSafe for ElevationOptions
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