pub struct HistoryConfig {
pub initial_history_in_client_content: Option<bool>,
}Expand description
Controls how conversation history is bootstrapped.
On Gemini 3.1, clientContent can only be sent as initial history
(before the first realtimeInput). Set initial_history_in_client_content
to true to enable this.
Fields§
§initial_history_in_client_content: Option<bool>Trait Implementations§
Source§impl Clone for HistoryConfig
impl Clone for HistoryConfig
Source§fn clone(&self) -> HistoryConfig
fn clone(&self) -> HistoryConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 HistoryConfig
impl Debug for HistoryConfig
Source§impl Default for HistoryConfig
impl Default for HistoryConfig
Source§fn default() -> HistoryConfig
fn default() -> HistoryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HistoryConfig
impl<'de> Deserialize<'de> for HistoryConfig
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 HistoryConfig
impl PartialEq for HistoryConfig
Source§impl Serialize for HistoryConfig
impl Serialize for HistoryConfig
impl StructuralPartialEq for HistoryConfig
Auto Trait Implementations§
impl Freeze for HistoryConfig
impl RefUnwindSafe for HistoryConfig
impl Send for HistoryConfig
impl Sync for HistoryConfig
impl Unpin for HistoryConfig
impl UnsafeUnpin for HistoryConfig
impl UnwindSafe for HistoryConfig
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