pub enum OpenAIContentPart {
Text {
text: String,
},
ImageUrl {
url: String,
},
}Expand description
A part of multimodal content.
Variants§
Trait Implementations§
Source§impl Clone for OpenAIContentPart
impl Clone for OpenAIContentPart
Source§fn clone(&self) -> OpenAIContentPart
fn clone(&self) -> OpenAIContentPart
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 OpenAIContentPart
impl RefUnwindSafe for OpenAIContentPart
impl Send for OpenAIContentPart
impl Sync for OpenAIContentPart
impl Unpin for OpenAIContentPart
impl UnwindSafe for OpenAIContentPart
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