#[non_exhaustive]pub struct BidiGenerateContentServerContent {Show 14 fields
pub model_turn: Option<LiveContent>,
pub generation_complete: Option<bool>,
pub turn_complete: Option<bool>,
pub interrupted: Option<bool>,
pub grounding_metadata: Option<LiveGroundingMetadata>,
pub input_transcription: Option<BidiGenerateContentTranscription>,
pub output_transcription: Option<BidiGenerateContentTranscription>,
pub interim_input_transcription: Option<BidiGenerateContentTranscription>,
pub url_context_metadata: Option<LiveUrlContextMetadata>,
pub waiting_for_input: Option<bool>,
pub turn_complete_reason: Option<TurnCompleteReason>,
pub interaction_status: Option<InteractionStatus>,
pub speech_state: Option<SpeechState>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_turn: Option<LiveContent>§generation_complete: Option<bool>§turn_complete: Option<bool>§interrupted: Option<bool>§grounding_metadata: Option<LiveGroundingMetadata>§input_transcription: Option<BidiGenerateContentTranscription>§output_transcription: Option<BidiGenerateContentTranscription>§interim_input_transcription: Option<BidiGenerateContentTranscription>§url_context_metadata: Option<LiveUrlContextMetadata>§waiting_for_input: Option<bool>§turn_complete_reason: Option<TurnCompleteReason>§interaction_status: Option<InteractionStatus>§speech_state: Option<SpeechState>§rest: RestImplementations§
Source§impl BidiGenerateContentServerContent
impl BidiGenerateContentServerContent
Sourcepub fn builder() -> BidiGenerateContentServerContentBuilder
pub fn builder() -> BidiGenerateContentServerContentBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for BidiGenerateContentServerContent
impl DeclaredFields for BidiGenerateContentServerContent
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for BidiGenerateContentServerContent
impl<'de> Deserialize<'de> for BidiGenerateContentServerContent
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 BidiGenerateContentServerContent
Auto Trait Implementations§
impl Freeze for BidiGenerateContentServerContent
impl RefUnwindSafe for BidiGenerateContentServerContent
impl Send for BidiGenerateContentServerContent
impl Sync for BidiGenerateContentServerContent
impl Unpin for BidiGenerateContentServerContent
impl UnsafeUnpin for BidiGenerateContentServerContent
impl UnwindSafe for BidiGenerateContentServerContent
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