pub struct NoSkipInlineQueryResultAudio {
pub tg_type: String,
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<i64>,
pub reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>,
pub input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>,
}Expand description
Companion type to InlineQueryResultAudio that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§tg_type: StringType of the result, must be audio
id: StringUnique identifier for this result, 1-64 bytes
audio_url: StringA valid URL for the audio file
title: StringTitle
caption: Option<String>§parse_mode: Option<String>§caption_entities: Option<Vec<MessageEntity>>§performer: Option<String>§audio_duration: Option<i64>§reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>§input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>Implementations§
Source§impl NoSkipInlineQueryResultAudio
impl NoSkipInlineQueryResultAudio
pub fn skip(self) -> InlineQueryResultAudio
Trait Implementations§
Source§impl Clone for NoSkipInlineQueryResultAudio
impl Clone for NoSkipInlineQueryResultAudio
Source§fn clone(&self) -> NoSkipInlineQueryResultAudio
fn clone(&self) -> NoSkipInlineQueryResultAudio
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 moreSource§impl Debug for NoSkipInlineQueryResultAudio
impl Debug for NoSkipInlineQueryResultAudio
Source§impl Default for NoSkipInlineQueryResultAudio
impl Default for NoSkipInlineQueryResultAudio
Source§fn default() -> NoSkipInlineQueryResultAudio
fn default() -> NoSkipInlineQueryResultAudio
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipInlineQueryResultAudio
impl<'de> Deserialize<'de> for NoSkipInlineQueryResultAudio
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 From<NoSkipInlineQueryResultAudio> for InlineQueryResultAudio
impl From<NoSkipInlineQueryResultAudio> for InlineQueryResultAudio
Source§fn from(t: NoSkipInlineQueryResultAudio) -> Self
fn from(t: NoSkipInlineQueryResultAudio) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipInlineQueryResultAudio
impl Hash for NoSkipInlineQueryResultAudio
Source§impl Into<NoSkipInlineQueryResultAudio> for InlineQueryResultAudio
impl Into<NoSkipInlineQueryResultAudio> for InlineQueryResultAudio
Source§fn into(self) -> NoSkipInlineQueryResultAudio
fn into(self) -> NoSkipInlineQueryResultAudio
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipInlineQueryResultAudio
impl Ord for NoSkipInlineQueryResultAudio
Source§fn cmp(&self, other: &NoSkipInlineQueryResultAudio) -> Ordering
fn cmp(&self, other: &NoSkipInlineQueryResultAudio) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoSkipInlineQueryResultAudio
impl PartialEq for NoSkipInlineQueryResultAudio
Source§fn eq(&self, other: &NoSkipInlineQueryResultAudio) -> bool
fn eq(&self, other: &NoSkipInlineQueryResultAudio) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NoSkipInlineQueryResultAudio
impl PartialOrd for NoSkipInlineQueryResultAudio
impl Eq for NoSkipInlineQueryResultAudio
impl StructuralPartialEq for NoSkipInlineQueryResultAudio
Auto Trait Implementations§
impl Freeze for NoSkipInlineQueryResultAudio
impl RefUnwindSafe for NoSkipInlineQueryResultAudio
impl Send for NoSkipInlineQueryResultAudio
impl Sync for NoSkipInlineQueryResultAudio
impl Unpin for NoSkipInlineQueryResultAudio
impl UnsafeUnpin for NoSkipInlineQueryResultAudio
impl UnwindSafe for NoSkipInlineQueryResultAudio
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.