pub enum GenerateContentStreamEvent {
Text(String),
FunctionCall(FunctionCall),
Usage(GenerateContentResponseUsageMetadata),
Response(GenerateContentResponse),
Done(GenerateContentResponse),
}Variants§
Text(String)
FunctionCall(FunctionCall)
Usage(GenerateContentResponseUsageMetadata)
Response(GenerateContentResponse)
Done(GenerateContentResponse)
Trait Implementations§
Source§impl Clone for GenerateContentStreamEvent
impl Clone for GenerateContentStreamEvent
Source§fn clone(&self) -> GenerateContentStreamEvent
fn clone(&self) -> GenerateContentStreamEvent
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 moreAuto Trait Implementations§
impl Freeze for GenerateContentStreamEvent
impl RefUnwindSafe for GenerateContentStreamEvent
impl Send for GenerateContentStreamEvent
impl Sync for GenerateContentStreamEvent
impl Unpin for GenerateContentStreamEvent
impl UnsafeUnpin for GenerateContentStreamEvent
impl UnwindSafe for GenerateContentStreamEvent
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