pub struct MultimodalOutput {
pub text: bool,
pub audio: Option<AudioOutputConfig>,
pub image: Option<ImageOutputConfig>,
}Expand description
Multimodal output modalities.
Fields§
§text: bool§audio: Option<AudioOutputConfig>§image: Option<ImageOutputConfig>Trait Implementations§
Source§impl Clone for MultimodalOutput
impl Clone for MultimodalOutput
Source§fn clone(&self) -> MultimodalOutput
fn clone(&self) -> MultimodalOutput
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 MultimodalOutput
impl Debug for MultimodalOutput
Source§impl Default for MultimodalOutput
impl Default for MultimodalOutput
Source§fn default() -> MultimodalOutput
fn default() -> MultimodalOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MultimodalOutput
impl<'de> Deserialize<'de> for MultimodalOutput
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 MultimodalOutput
impl RefUnwindSafe for MultimodalOutput
impl Send for MultimodalOutput
impl Sync for MultimodalOutput
impl Unpin for MultimodalOutput
impl UnsafeUnpin for MultimodalOutput
impl UnwindSafe for MultimodalOutput
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