pub struct LiveServerContent {
pub model_turn: Option<Content>,
pub turn_complete: Option<bool>,
pub interrupted: Option<bool>,
pub grounding_metadata: Option<GroundingMetadata>,
pub generation_complete: Option<bool>,
pub input_transcription: Option<Transcription>,
pub output_transcription: Option<Transcription>,
pub url_context_metadata: Option<UrlContextMetadata>,
pub turn_complete_reason: Option<TurnCompleteReason>,
pub waiting_for_input: Option<bool>,
}Expand description
Incremental server update generated by the model in response to client messages.
Fields§
§model_turn: Option<Content>§turn_complete: Option<bool>§interrupted: Option<bool>§grounding_metadata: Option<GroundingMetadata>§generation_complete: Option<bool>§input_transcription: Option<Transcription>§output_transcription: Option<Transcription>§url_context_metadata: Option<UrlContextMetadata>§turn_complete_reason: Option<TurnCompleteReason>§waiting_for_input: Option<bool>Trait Implementations§
Source§impl Clone for LiveServerContent
impl Clone for LiveServerContent
Source§fn clone(&self) -> LiveServerContent
fn clone(&self) -> LiveServerContent
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 LiveServerContent
impl Debug for LiveServerContent
Source§impl<'de> Deserialize<'de> for LiveServerContent
impl<'de> Deserialize<'de> for LiveServerContent
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
Auto Trait Implementations§
impl Freeze for LiveServerContent
impl RefUnwindSafe for LiveServerContent
impl Send for LiveServerContent
impl Sync for LiveServerContent
impl Unpin for LiveServerContent
impl UnsafeUnpin for LiveServerContent
impl UnwindSafe for LiveServerContent
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