pub enum ModelLimitConfidence {
Conservative,
ProviderReported,
Exact,
UserSupplied,
}Expand description
Confidence in a ModelContextLimits value.
Variants§
Conservative
Conservative guess; surface uncertainty in /doctor and /context.
ProviderReported
Built-in static provider defaults; may lag the live model.
Exact
Reported by the provider at runtime.
UserSupplied
Supplied by the user; trusted but flagged by /doctor.
Implementations§
Trait Implementations§
Source§impl Clone for ModelLimitConfidence
impl Clone for ModelLimitConfidence
Source§fn clone(&self) -> ModelLimitConfidence
fn clone(&self) -> ModelLimitConfidence
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 moreimpl Copy for ModelLimitConfidence
Source§impl Debug for ModelLimitConfidence
impl Debug for ModelLimitConfidence
Source§impl<'de> Deserialize<'de> for ModelLimitConfidence
impl<'de> Deserialize<'de> for ModelLimitConfidence
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 ModelLimitConfidence
Source§impl Hash for ModelLimitConfidence
impl Hash for ModelLimitConfidence
Source§impl PartialEq for ModelLimitConfidence
impl PartialEq for ModelLimitConfidence
Source§impl Serialize for ModelLimitConfidence
impl Serialize for ModelLimitConfidence
impl StructuralPartialEq for ModelLimitConfidence
Auto Trait Implementations§
impl Freeze for ModelLimitConfidence
impl RefUnwindSafe for ModelLimitConfidence
impl Send for ModelLimitConfidence
impl Sync for ModelLimitConfidence
impl Unpin for ModelLimitConfidence
impl UnsafeUnpin for ModelLimitConfidence
impl UnwindSafe for ModelLimitConfidence
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