pub enum InputMessageContent<'a> {
Text(InputTextMessageContent<'a>),
Location(InputLocationMessageContent),
Venue(InputVenueMessageContent<'a>),
Contact(InputContactMessageContent<'a>),
}
Expand description
The content of a message to be sent as a result of an inline query.
Variants
Text(InputTextMessageContent<'a>)
Location(InputLocationMessageContent)
Venue(InputVenueMessageContent<'a>)
Contact(InputContactMessageContent<'a>)
Trait Implementations
sourceimpl<'a> Clone for InputMessageContent<'a>
impl<'a> Clone for InputMessageContent<'a>
sourcefn clone(&self) -> InputMessageContent<'a>
fn clone(&self) -> InputMessageContent<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for InputMessageContent<'a>
impl<'a> Debug for InputMessageContent<'a>
sourceimpl<'de, 'a> Deserialize<'de> for InputMessageContent<'a>
impl<'de, 'a> Deserialize<'de> for InputMessageContent<'a>
sourcefn 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
sourceimpl<'a> PartialEq<InputMessageContent<'a>> for InputMessageContent<'a>
impl<'a> PartialEq<InputMessageContent<'a>> for InputMessageContent<'a>
sourcefn eq(&self, other: &InputMessageContent<'a>) -> bool
fn eq(&self, other: &InputMessageContent<'a>) -> bool
sourceimpl<'a> Serialize for InputMessageContent<'a>
impl<'a> Serialize for InputMessageContent<'a>
impl<'a> StructuralPartialEq for InputMessageContent<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for InputMessageContent<'a>
impl<'a> Send for InputMessageContent<'a>
impl<'a> Sync for InputMessageContent<'a>
impl<'a> Unpin for InputMessageContent<'a>
impl<'a> UnwindSafe for InputMessageContent<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more