pub struct CodeExecutionCallContentCodeExecutionCallArguments {
pub language: Option<CodeExecutionCallContentCodeExecutionCallArgumentsLanguage>,
pub code: Option<String>,
}Expand description
genai.CodeExecutionCallContent.CodeExecutionCallArguments
Fields§
§language: Option<CodeExecutionCallContentCodeExecutionCallArgumentsLanguage>§code: Option<String>Trait Implementations§
Source§impl Clone for CodeExecutionCallContentCodeExecutionCallArguments
impl Clone for CodeExecutionCallContentCodeExecutionCallArguments
Source§fn clone(&self) -> CodeExecutionCallContentCodeExecutionCallArguments
fn clone(&self) -> CodeExecutionCallContentCodeExecutionCallArguments
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 Default for CodeExecutionCallContentCodeExecutionCallArguments
impl Default for CodeExecutionCallContentCodeExecutionCallArguments
Source§fn default() -> CodeExecutionCallContentCodeExecutionCallArguments
fn default() -> CodeExecutionCallContentCodeExecutionCallArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeExecutionCallContentCodeExecutionCallArguments
impl<'de> Deserialize<'de> for CodeExecutionCallContentCodeExecutionCallArguments
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 CodeExecutionCallContentCodeExecutionCallArguments
Auto Trait Implementations§
impl Freeze for CodeExecutionCallContentCodeExecutionCallArguments
impl RefUnwindSafe for CodeExecutionCallContentCodeExecutionCallArguments
impl Send for CodeExecutionCallContentCodeExecutionCallArguments
impl Sync for CodeExecutionCallContentCodeExecutionCallArguments
impl Unpin for CodeExecutionCallContentCodeExecutionCallArguments
impl UnsafeUnpin for CodeExecutionCallContentCodeExecutionCallArguments
impl UnwindSafe for CodeExecutionCallContentCodeExecutionCallArguments
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