pub enum UserContentPart {
Text {
text: String,
},
ImageUrl {
image_url: ImageUrl,
},
Audio {
input_audio: InputAudio,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UserContentPart
impl Clone for UserContentPart
Source§fn clone(&self) -> UserContentPart
fn clone(&self) -> UserContentPart
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserContentPart
impl Debug for UserContentPart
Source§impl<'de> Deserialize<'de> for UserContentPart
impl<'de> Deserialize<'de> for UserContentPart
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
Source§impl From<&str> for UserContentPart
impl From<&str> for UserContentPart
Source§impl From<String> for UserContentPart
impl From<String> for UserContentPart
Source§impl PartialEq for UserContentPart
impl PartialEq for UserContentPart
Source§impl Serialize for UserContentPart
impl Serialize for UserContentPart
impl StructuralPartialEq for UserContentPart
Auto Trait Implementations§
impl Freeze for UserContentPart
impl RefUnwindSafe for UserContentPart
impl Send for UserContentPart
impl Sync for UserContentPart
impl Unpin for UserContentPart
impl UnwindSafe for UserContentPart
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