#[non_exhaustive]pub struct BidiGenerateContentRealtimeInput {
pub media_chunks: Option<Vec<LiveBlob>>,
pub audio: Option<LiveBlob>,
pub audio_stream_end: Option<bool>,
pub video: Option<LiveBlob>,
pub text: Option<String>,
pub activity_start: Option<LiveActivityStart>,
pub activity_end: Option<LiveActivityEnd>,
pub media_resolution: Option<GenerationMediaResolution>,
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.media_chunks: Option<Vec<LiveBlob>>§audio: Option<LiveBlob>§audio_stream_end: Option<bool>§video: Option<LiveBlob>§text: Option<String>§activity_start: Option<LiveActivityStart>§activity_end: Option<LiveActivityEnd>§media_resolution: Option<GenerationMediaResolution>§rest: RestImplementations§
Source§impl BidiGenerateContentRealtimeInput
impl BidiGenerateContentRealtimeInput
Sourcepub fn builder() -> BidiGenerateContentRealtimeInputBuilder
pub fn builder() -> BidiGenerateContentRealtimeInputBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for BidiGenerateContentRealtimeInput
impl DeclaredFields for BidiGenerateContentRealtimeInput
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for BidiGenerateContentRealtimeInput
impl<'de> Deserialize<'de> for BidiGenerateContentRealtimeInput
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 BidiGenerateContentRealtimeInput
Auto Trait Implementations§
impl Freeze for BidiGenerateContentRealtimeInput
impl RefUnwindSafe for BidiGenerateContentRealtimeInput
impl Send for BidiGenerateContentRealtimeInput
impl Sync for BidiGenerateContentRealtimeInput
impl Unpin for BidiGenerateContentRealtimeInput
impl UnsafeUnpin for BidiGenerateContentRealtimeInput
impl UnwindSafe for BidiGenerateContentRealtimeInput
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