pub struct BudgetEnvelopeRow {
pub session_id: String,
pub max_steps: Option<i32>,
pub steps_used: i32,
pub max_revisions: Option<i32>,
pub revisions_used: i32,
pub max_cost_usd: Option<f64>,
pub cost_used_usd: f64,
}Expand description
Row type for budget_envelopes table
Fields§
§session_id: String§max_steps: Option<i32>§steps_used: i32§max_revisions: Option<i32>§revisions_used: i32§max_cost_usd: Option<f64>§cost_used_usd: f64Trait Implementations§
Source§impl Clone for BudgetEnvelopeRow
impl Clone for BudgetEnvelopeRow
Source§fn clone(&self) -> BudgetEnvelopeRow
fn clone(&self) -> BudgetEnvelopeRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BudgetEnvelopeRow
impl RefUnwindSafe for BudgetEnvelopeRow
impl Send for BudgetEnvelopeRow
impl Sync for BudgetEnvelopeRow
impl Unpin for BudgetEnvelopeRow
impl UnsafeUnpin for BudgetEnvelopeRow
impl UnwindSafe for BudgetEnvelopeRow
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