pub enum InputContentPart {
InputText {
text: String,
},
OutputText {
text: String,
},
}Expand description
A content part of a message input item.
Variants§
Trait Implementations§
Source§impl Clone for InputContentPart
impl Clone for InputContentPart
Source§fn clone(&self) -> InputContentPart
fn clone(&self) -> InputContentPart
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 InputContentPart
impl Debug for InputContentPart
Source§impl PartialEq for InputContentPart
impl PartialEq for InputContentPart
Source§impl Serialize for InputContentPart
impl Serialize for InputContentPart
impl StructuralPartialEq for InputContentPart
Auto Trait Implementations§
impl Freeze for InputContentPart
impl RefUnwindSafe for InputContentPart
impl Send for InputContentPart
impl Sync for InputContentPart
impl Unpin for InputContentPart
impl UnsafeUnpin for InputContentPart
impl UnwindSafe for InputContentPart
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