pub struct ModelProfileView {Show 20 fields
pub name: String,
pub provider: ModelProviderKind,
pub model: String,
pub base_url: String,
pub api_key_configured: bool,
pub headers: Vec<ModelRequestHeader>,
pub ssl_verify: Option<bool>,
pub context_window: Option<u32>,
pub max_tokens: Option<u32>,
pub temperature: f64,
pub top_p: f64,
pub connect_timeout_seconds: f64,
pub capabilities: ModelCapabilities,
pub fallback_policy_id: Option<String>,
pub fallback_priority: u32,
pub catalog_provider_id: Option<String>,
pub catalog_provider_name: Option<String>,
pub catalog_model_name: Option<String>,
pub is_default: bool,
pub source: String,
}Expand description
Redacted profile returned by diagnostics and Web Settings.
Fields§
§name: String§provider: ModelProviderKind§model: String§base_url: String§api_key_configured: bool§headers: Vec<ModelRequestHeader>§ssl_verify: Option<bool>§context_window: Option<u32>§max_tokens: Option<u32>§temperature: f64§top_p: f64§connect_timeout_seconds: f64§capabilities: ModelCapabilities§fallback_policy_id: Option<String>§fallback_priority: u32§catalog_provider_id: Option<String>§catalog_provider_name: Option<String>§catalog_model_name: Option<String>§is_default: bool§source: StringTrait Implementations§
Source§impl Clone for ModelProfileView
impl Clone for ModelProfileView
Source§fn clone(&self) -> ModelProfileView
fn clone(&self) -> ModelProfileView
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 ModelProfileView
impl Debug for ModelProfileView
Source§impl<'de> Deserialize<'de> for ModelProfileView
impl<'de> Deserialize<'de> for ModelProfileView
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 ModelProfileView
impl PartialEq for ModelProfileView
Source§fn eq(&self, other: &ModelProfileView) -> bool
fn eq(&self, other: &ModelProfileView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelProfileView
impl Serialize for ModelProfileView
impl StructuralPartialEq for ModelProfileView
Auto Trait Implementations§
impl Freeze for ModelProfileView
impl RefUnwindSafe for ModelProfileView
impl Send for ModelProfileView
impl Sync for ModelProfileView
impl Unpin for ModelProfileView
impl UnsafeUnpin for ModelProfileView
impl UnwindSafe for ModelProfileView
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