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