pub enum MessageContentInput {
Text(MessageRequestContentTextObject),
ImageFile(MessageContentImageFileObject),
ImageUrl(MessageContentImageUrlObject),
}
Variants§
Text(MessageRequestContentTextObject)
ImageFile(MessageContentImageFileObject)
ImageUrl(MessageContentImageUrlObject)
Trait Implementations§
Source§impl Clone for MessageContentInput
impl Clone for MessageContentInput
Source§fn clone(&self) -> MessageContentInput
fn clone(&self) -> MessageContentInput
Returns a copy 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 moreSource§impl Debug for MessageContentInput
impl Debug for MessageContentInput
Source§impl<'de> Deserialize<'de> for MessageContentInput
impl<'de> Deserialize<'de> for MessageContentInput
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 PartialEq for MessageContentInput
impl PartialEq for MessageContentInput
Source§impl Serialize for MessageContentInput
impl Serialize for MessageContentInput
impl StructuralPartialEq for MessageContentInput
Auto Trait Implementations§
impl Freeze for MessageContentInput
impl RefUnwindSafe for MessageContentInput
impl Send for MessageContentInput
impl Sync for MessageContentInput
impl Unpin for MessageContentInput
impl UnwindSafe for MessageContentInput
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