pub struct ModelDiscoveryEntry {
pub model: String,
pub context_window: Option<u32>,
pub output_limit: Option<u32>,
pub capabilities: ModelCapabilities,
}Expand description
Discovered provider model with optional metadata.
Fields§
§model: String§context_window: Option<u32>§output_limit: Option<u32>§capabilities: ModelCapabilitiesTrait Implementations§
Source§impl Clone for ModelDiscoveryEntry
impl Clone for ModelDiscoveryEntry
Source§fn clone(&self) -> ModelDiscoveryEntry
fn clone(&self) -> ModelDiscoveryEntry
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 ModelDiscoveryEntry
impl Debug for ModelDiscoveryEntry
Source§impl<'de> Deserialize<'de> for ModelDiscoveryEntry
impl<'de> Deserialize<'de> for ModelDiscoveryEntry
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
Source§impl PartialEq for ModelDiscoveryEntry
impl PartialEq for ModelDiscoveryEntry
Source§impl Serialize for ModelDiscoveryEntry
impl Serialize for ModelDiscoveryEntry
impl StructuralPartialEq for ModelDiscoveryEntry
Auto Trait Implementations§
impl Freeze for ModelDiscoveryEntry
impl RefUnwindSafe for ModelDiscoveryEntry
impl Send for ModelDiscoveryEntry
impl Sync for ModelDiscoveryEntry
impl Unpin for ModelDiscoveryEntry
impl UnsafeUnpin for ModelDiscoveryEntry
impl UnwindSafe for ModelDiscoveryEntry
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