pub struct ModelParamsInfo {
pub temperature: Option<Box<ModelParamsInfoTemperature>>,
pub max_tokens: Option<Box<ModelParamsInfoMaxTokens>>,
pub reasoning_effort: Option<Box<ModelParamsInfoReasoningEffort>>,
}Expand description
ModelParamsInfo : Информация о доступных параметрах модели с их ограничениями
Fields§
§temperature: Option<Box<ModelParamsInfoTemperature>>§max_tokens: Option<Box<ModelParamsInfoMaxTokens>>§reasoning_effort: Option<Box<ModelParamsInfoReasoningEffort>>Implementations§
Source§impl ModelParamsInfo
impl ModelParamsInfo
Sourcepub fn new() -> ModelParamsInfo
pub fn new() -> ModelParamsInfo
Информация о доступных параметрах модели с их ограничениями
Trait Implementations§
Source§impl Clone for ModelParamsInfo
impl Clone for ModelParamsInfo
Source§fn clone(&self) -> ModelParamsInfo
fn clone(&self) -> ModelParamsInfo
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 ModelParamsInfo
impl Debug for ModelParamsInfo
Source§impl Default for ModelParamsInfo
impl Default for ModelParamsInfo
Source§fn default() -> ModelParamsInfo
fn default() -> ModelParamsInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelParamsInfo
impl<'de> Deserialize<'de> for ModelParamsInfo
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 ModelParamsInfo
impl PartialEq for ModelParamsInfo
Source§fn eq(&self, other: &ModelParamsInfo) -> bool
fn eq(&self, other: &ModelParamsInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelParamsInfo
impl Serialize for ModelParamsInfo
impl StructuralPartialEq for ModelParamsInfo
Auto Trait Implementations§
impl Freeze for ModelParamsInfo
impl RefUnwindSafe for ModelParamsInfo
impl Send for ModelParamsInfo
impl Sync for ModelParamsInfo
impl Unpin for ModelParamsInfo
impl UnsafeUnpin for ModelParamsInfo
impl UnwindSafe for ModelParamsInfo
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