pub struct GeminiFunctionCall {
pub id: Option<String>,
pub name: Option<String>,
pub args: Option<Value>,
}Expand description
Gemini function-call part.
Fields§
§id: Option<String>Provider function-call id.
name: Option<String>Tool/function name.
args: Option<Value>Function-call arguments.
Trait Implementations§
Source§impl Clone for GeminiFunctionCall
impl Clone for GeminiFunctionCall
Source§fn clone(&self) -> GeminiFunctionCall
fn clone(&self) -> GeminiFunctionCall
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 GeminiFunctionCall
impl Debug for GeminiFunctionCall
Source§impl<'de> Deserialize<'de> for GeminiFunctionCall
impl<'de> Deserialize<'de> for GeminiFunctionCall
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 GeminiFunctionCall
impl PartialEq for GeminiFunctionCall
Source§fn eq(&self, other: &GeminiFunctionCall) -> bool
fn eq(&self, other: &GeminiFunctionCall) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GeminiFunctionCall
impl Serialize for GeminiFunctionCall
impl Eq for GeminiFunctionCall
impl StructuralPartialEq for GeminiFunctionCall
Auto Trait Implementations§
impl Freeze for GeminiFunctionCall
impl RefUnwindSafe for GeminiFunctionCall
impl Send for GeminiFunctionCall
impl Sync for GeminiFunctionCall
impl Unpin for GeminiFunctionCall
impl UnsafeUnpin for GeminiFunctionCall
impl UnwindSafe for GeminiFunctionCall
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