pub struct FileBudgetConfig {
pub global_limit: Option<f64>,
pub model_limits: Option<HashMap<String, f64>>,
pub enforcement: Option<String>,
}Fields§
§global_limit: Option<f64>§model_limits: Option<HashMap<String, f64>>§enforcement: Option<String>Trait Implementations§
Source§impl Clone for FileBudgetConfig
impl Clone for FileBudgetConfig
Source§fn clone(&self) -> FileBudgetConfig
fn clone(&self) -> FileBudgetConfig
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 moreSource§impl Debug for FileBudgetConfig
impl Debug for FileBudgetConfig
Source§impl<'de> Deserialize<'de> for FileBudgetConfig
impl<'de> Deserialize<'de> for FileBudgetConfig
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 FileBudgetConfig
impl RefUnwindSafe for FileBudgetConfig
impl Send for FileBudgetConfig
impl Sync for FileBudgetConfig
impl Unpin for FileBudgetConfig
impl UnsafeUnpin for FileBudgetConfig
impl UnwindSafe for FileBudgetConfig
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