pub struct ModelEntry {
pub provider: String,
pub model: String,
pub base_url: Option<String>,
pub secret: Option<SecretRef>,
pub capabilities: Vec<String>,
pub params: Value,
}Fields§
§provider: String§model: String§base_url: Option<String>§secret: Option<SecretRef>§capabilities: Vec<String>§params: ValueTrait Implementations§
Source§impl Clone for ModelEntry
impl Clone for ModelEntry
Source§fn clone(&self) -> ModelEntry
fn clone(&self) -> ModelEntry
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 ModelEntry
impl Debug for ModelEntry
Source§impl<'de> Deserialize<'de> for ModelEntry
impl<'de> Deserialize<'de> for ModelEntry
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 ModelEntry
impl PartialEq for ModelEntry
Source§fn eq(&self, other: &ModelEntry) -> bool
fn eq(&self, other: &ModelEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelEntry
impl Serialize for ModelEntry
impl StructuralPartialEq for ModelEntry
Auto Trait Implementations§
impl Freeze for ModelEntry
impl RefUnwindSafe for ModelEntry
impl Send for ModelEntry
impl Sync for ModelEntry
impl Unpin for ModelEntry
impl UnsafeUnpin for ModelEntry
impl UnwindSafe for ModelEntry
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