pub struct RoleEntry {
pub primary: String,
pub fallback: Option<String>,
pub cost_budget_per_day_usd: Option<f64>,
pub privacy_local_only: bool,
}Fields§
§primary: StringRegistry model ID (key in models:) to use as primary.
fallback: Option<String>Fallback model ID if primary is unavailable.
cost_budget_per_day_usd: Option<f64>Optional daily cost cap in USD.
privacy_local_only: boolIf true, only use local models when handling sensitive data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RoleEntry
impl<'de> Deserialize<'de> for RoleEntry
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 StructuralPartialEq for RoleEntry
Auto Trait Implementations§
impl Freeze for RoleEntry
impl RefUnwindSafe for RoleEntry
impl Send for RoleEntry
impl Sync for RoleEntry
impl Unpin for RoleEntry
impl UnsafeUnpin for RoleEntry
impl UnwindSafe for RoleEntry
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