Struct frankenstein::objects::InlineQueryResultAudio [−][src]
pub struct InlineQueryResultAudio {
pub id: String,
pub audio_url: String,
pub title: String,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub performer: Option<String>,
pub audio_duration: Option<u32>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}
Fields
id: String
audio_url: String
title: String
parse_mode: Option<String>
performer: Option<String>
audio_duration: Option<u32>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<InputMessageContent>
Implementations
pub fn set_input_message_content(
&mut self,
input_message_content: Option<InputMessageContent>
)
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultAudio
impl Send for InlineQueryResultAudio
impl Sync for InlineQueryResultAudio
impl Unpin for InlineQueryResultAudio
impl UnwindSafe for InlineQueryResultAudio
Blanket Implementations
Mutably borrows from an owned value. Read more