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§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 Forget for FleetUsageCeiling
impl Freeze for FleetUsageCeiling
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.