pub enum CompactContentPart {
InputText {
text: String,
},
InputImage {
image_url: String,
},
}Expand description
Content part for compact input
Variants§
Trait Implementations§
Source§impl Clone for CompactContentPart
impl Clone for CompactContentPart
Source§fn clone(&self) -> CompactContentPart
fn clone(&self) -> CompactContentPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompactContentPart
impl Debug for CompactContentPart
Source§impl<'de> Deserialize<'de> for CompactContentPart
impl<'de> Deserialize<'de> for CompactContentPart
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 Eq for CompactContentPart
Source§impl PartialEq for CompactContentPart
impl PartialEq for CompactContentPart
Source§impl Serialize for CompactContentPart
impl Serialize for CompactContentPart
impl StructuralPartialEq for CompactContentPart
Auto Trait Implementations§
impl Freeze for CompactContentPart
impl RefUnwindSafe for CompactContentPart
impl Send for CompactContentPart
impl Sync for CompactContentPart
impl Unpin for CompactContentPart
impl UnsafeUnpin for CompactContentPart
impl UnwindSafe for CompactContentPart
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