pub struct AiStudioAgentTextGen {
pub type: AiAgentTextGenType,
pub access_state: String,
pub description: String,
pub custom_instructions: Option<Option<String>>,
pub suggested_questions: Option<Vec<String>>,
pub basic_gen: Option<AiStudioAgentBasicGenTool>,
}Fields§
§type: AiAgentTextGenType§access_state: String§description: String§custom_instructions: Option<Option<String>>§suggested_questions: Option<Vec<String>>§basic_gen: Option<AiStudioAgentBasicGenTool>Trait Implementations§
Source§impl Clone for AiStudioAgentTextGen
impl Clone for AiStudioAgentTextGen
Source§fn clone(&self) -> AiStudioAgentTextGen
fn clone(&self) -> AiStudioAgentTextGen
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 AiStudioAgentTextGen
impl Debug for AiStudioAgentTextGen
Source§impl Default for AiStudioAgentTextGen
impl Default for AiStudioAgentTextGen
Source§fn default() -> AiStudioAgentTextGen
fn default() -> AiStudioAgentTextGen
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiStudioAgentTextGen
impl<'de> Deserialize<'de> for AiStudioAgentTextGen
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 AiStudioAgentTextGen
impl PartialEq for AiStudioAgentTextGen
Source§impl Serialize for AiStudioAgentTextGen
impl Serialize for AiStudioAgentTextGen
impl StructuralPartialEq for AiStudioAgentTextGen
Auto Trait Implementations§
impl Freeze for AiStudioAgentTextGen
impl RefUnwindSafe for AiStudioAgentTextGen
impl Send for AiStudioAgentTextGen
impl Sync for AiStudioAgentTextGen
impl Unpin for AiStudioAgentTextGen
impl UnsafeUnpin for AiStudioAgentTextGen
impl UnwindSafe for AiStudioAgentTextGen
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