pub struct UpdateAgentSettings {
pub model: Option<Box<AgentModelSettings>>,
pub system_prompt: Option<String>,
pub refine_query: Option<bool>,
pub widget: Option<Box<AgentSettingsWidget>>,
}Expand description
UpdateAgentSettings : Настройки агента
Fields§
§model: Option<Box<AgentModelSettings>>§system_prompt: Option<String>Системный промпт
refine_query: Option<bool>Уточнять ли запрос перед обработкой
widget: Option<Box<AgentSettingsWidget>>Implementations§
Source§impl UpdateAgentSettings
impl UpdateAgentSettings
Sourcepub fn new() -> UpdateAgentSettings
pub fn new() -> UpdateAgentSettings
Настройки агента
Trait Implementations§
Source§impl Clone for UpdateAgentSettings
impl Clone for UpdateAgentSettings
Source§fn clone(&self) -> UpdateAgentSettings
fn clone(&self) -> UpdateAgentSettings
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 UpdateAgentSettings
impl Debug for UpdateAgentSettings
Source§impl Default for UpdateAgentSettings
impl Default for UpdateAgentSettings
Source§fn default() -> UpdateAgentSettings
fn default() -> UpdateAgentSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAgentSettings
impl<'de> Deserialize<'de> for UpdateAgentSettings
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 UpdateAgentSettings
impl PartialEq for UpdateAgentSettings
Source§fn eq(&self, other: &UpdateAgentSettings) -> bool
fn eq(&self, other: &UpdateAgentSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateAgentSettings
impl Serialize for UpdateAgentSettings
impl StructuralPartialEq for UpdateAgentSettings
Auto Trait Implementations§
impl Freeze for UpdateAgentSettings
impl RefUnwindSafe for UpdateAgentSettings
impl Send for UpdateAgentSettings
impl Sync for UpdateAgentSettings
impl Unpin for UpdateAgentSettings
impl UnsafeUnpin for UpdateAgentSettings
impl UnwindSafe for UpdateAgentSettings
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