pub enum CreateMessageRequest_Content {
Text(String),
Array(Vec<CreateMessageRequest_Content_Variant2>),
}
Variants§
Text(String)
The text contents of the message.
Array(Vec<CreateMessageRequest_Content_Variant2>)
An array of content parts with a defined type, each can be of type
text
or images can be passed with image_url
or image_file
.
Trait Implementations§
Source§impl Clone for CreateMessageRequest_Content
impl Clone for CreateMessageRequest_Content
Source§fn clone(&self) -> CreateMessageRequest_Content
fn clone(&self) -> CreateMessageRequest_Content
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 CreateMessageRequest_Content
impl RefUnwindSafe for CreateMessageRequest_Content
impl Send for CreateMessageRequest_Content
impl Sync for CreateMessageRequest_Content
impl Unpin for CreateMessageRequest_Content
impl UnwindSafe for CreateMessageRequest_Content
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