pub struct AiStudioAgentBasicTextTool {
pub model: Option<String>,
pub num_tokens_for_completion: Option<i64>,
pub llm_endpoint_params: Option<AiLlmEndpointParams>,
pub system_message: Option<String>,
pub prompt_template: Option<String>,
pub is_custom_instructions_included: Option<bool>,
}Fields§
§model: Option<String>§num_tokens_for_completion: Option<i64>§llm_endpoint_params: Option<AiLlmEndpointParams>§system_message: Option<String>§prompt_template: Option<String>§is_custom_instructions_included: Option<bool>Trait Implementations§
Source§impl Clone for AiStudioAgentBasicTextTool
impl Clone for AiStudioAgentBasicTextTool
Source§fn clone(&self) -> AiStudioAgentBasicTextTool
fn clone(&self) -> AiStudioAgentBasicTextTool
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 AiStudioAgentBasicTextTool
impl Debug for AiStudioAgentBasicTextTool
Source§impl Default for AiStudioAgentBasicTextTool
impl Default for AiStudioAgentBasicTextTool
Source§fn default() -> AiStudioAgentBasicTextTool
fn default() -> AiStudioAgentBasicTextTool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiStudioAgentBasicTextTool
impl<'de> Deserialize<'de> for AiStudioAgentBasicTextTool
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
impl StructuralPartialEq for AiStudioAgentBasicTextTool
Auto Trait Implementations§
impl Freeze for AiStudioAgentBasicTextTool
impl RefUnwindSafe for AiStudioAgentBasicTextTool
impl Send for AiStudioAgentBasicTextTool
impl Sync for AiStudioAgentBasicTextTool
impl Unpin for AiStudioAgentBasicTextTool
impl UnsafeUnpin for AiStudioAgentBasicTextTool
impl UnwindSafe for AiStudioAgentBasicTextTool
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