pub struct FleetUsageCeiling {
pub max_total_tokens: u64,
}Expand description
Run-wide usage ceiling (R6, #5567). Token-denominated: workers report provider token counts; a cost-denominated ceiling needs priced receipts in the worker stream and is deliberately not declared until it can be enforced.
Fields§
§max_total_tokens: u64Maximum input+output tokens accumulated across every worker model call in the run.
Trait Implementations§
Source§impl Clone for FleetUsageCeiling
impl Clone for FleetUsageCeiling
Source§fn clone(&self) -> FleetUsageCeiling
fn clone(&self) -> FleetUsageCeiling
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 moreSource§impl Debug for FleetUsageCeiling
impl Debug for FleetUsageCeiling
Source§impl<'de> Deserialize<'de> for FleetUsageCeiling
impl<'de> Deserialize<'de> for FleetUsageCeiling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FleetUsageCeiling
Source§impl PartialEq for FleetUsageCeiling
impl PartialEq for FleetUsageCeiling
Source§impl Serialize for FleetUsageCeiling
impl Serialize for FleetUsageCeiling
impl StructuralPartialEq for FleetUsageCeiling
Auto Trait Implementations§
impl Freeze for FleetUsageCeiling
impl RefUnwindSafe for FleetUsageCeiling
impl Send for FleetUsageCeiling
impl Sync for FleetUsageCeiling
impl Unpin for FleetUsageCeiling
impl UnsafeUnpin for FleetUsageCeiling
impl UnwindSafe for FleetUsageCeiling
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