pub struct OrgBudgetConfig {
pub max_tokens_per_period: u64,
pub period_type: String,
pub max_calls_per_period: u64,
}Expand description
Organization budget configuration
Fields§
§max_tokens_per_period: u64Maximum tokens per period
period_type: StringPeriod type (day, week, month, year)
max_calls_per_period: u64Maximum AI calls per period
Trait Implementations§
Source§impl Clone for OrgBudgetConfig
impl Clone for OrgBudgetConfig
Source§fn clone(&self) -> OrgBudgetConfig
fn clone(&self) -> OrgBudgetConfig
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 OrgBudgetConfig
impl Debug for OrgBudgetConfig
Source§impl Default for OrgBudgetConfig
impl Default for OrgBudgetConfig
Source§impl<'de> Deserialize<'de> for OrgBudgetConfig
impl<'de> Deserialize<'de> for OrgBudgetConfig
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
Auto Trait Implementations§
impl Freeze for OrgBudgetConfig
impl RefUnwindSafe for OrgBudgetConfig
impl Send for OrgBudgetConfig
impl Sync for OrgBudgetConfig
impl Unpin for OrgBudgetConfig
impl UnsafeUnpin for OrgBudgetConfig
impl UnwindSafe for OrgBudgetConfig
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