pub struct NoSkipInlineQueryResultCachedSticker {
pub tg_type: String,
pub id: String,
pub sticker_file_id: String,
pub reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>,
pub input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>,
}Expand description
Companion type to InlineQueryResultCachedSticker 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 sticker
id: StringUnique identifier for this result, 1-64 bytes
sticker_file_id: StringA valid file identifier of the sticker
reply_markup: Option<BoxWrapper<Unbox<InlineKeyboardMarkup>>>§input_message_content: Option<BoxWrapper<Unbox<InputMessageContent>>>Implementations§
Source§impl NoSkipInlineQueryResultCachedSticker
impl NoSkipInlineQueryResultCachedSticker
pub fn skip(self) -> InlineQueryResultCachedSticker
Trait Implementations§
Source§impl Clone for NoSkipInlineQueryResultCachedSticker
impl Clone for NoSkipInlineQueryResultCachedSticker
Source§fn clone(&self) -> NoSkipInlineQueryResultCachedSticker
fn clone(&self) -> NoSkipInlineQueryResultCachedSticker
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 Default for NoSkipInlineQueryResultCachedSticker
impl Default for NoSkipInlineQueryResultCachedSticker
Source§fn default() -> NoSkipInlineQueryResultCachedSticker
fn default() -> NoSkipInlineQueryResultCachedSticker
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipInlineQueryResultCachedSticker
impl<'de> Deserialize<'de> for NoSkipInlineQueryResultCachedSticker
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<NoSkipInlineQueryResultCachedSticker> for InlineQueryResultCachedSticker
impl From<NoSkipInlineQueryResultCachedSticker> for InlineQueryResultCachedSticker
Source§fn from(t: NoSkipInlineQueryResultCachedSticker) -> Self
fn from(t: NoSkipInlineQueryResultCachedSticker) -> Self
Converts to this type from the input type.
Source§impl Into<NoSkipInlineQueryResultCachedSticker> for InlineQueryResultCachedSticker
impl Into<NoSkipInlineQueryResultCachedSticker> for InlineQueryResultCachedSticker
Source§fn into(self) -> NoSkipInlineQueryResultCachedSticker
fn into(self) -> NoSkipInlineQueryResultCachedSticker
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipInlineQueryResultCachedSticker
impl Ord for NoSkipInlineQueryResultCachedSticker
Source§fn cmp(&self, other: &NoSkipInlineQueryResultCachedSticker) -> Ordering
fn cmp(&self, other: &NoSkipInlineQueryResultCachedSticker) -> 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 NoSkipInlineQueryResultCachedSticker
impl PartialEq for NoSkipInlineQueryResultCachedSticker
Source§fn eq(&self, other: &NoSkipInlineQueryResultCachedSticker) -> bool
fn eq(&self, other: &NoSkipInlineQueryResultCachedSticker) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NoSkipInlineQueryResultCachedSticker
impl PartialOrd for NoSkipInlineQueryResultCachedSticker
impl Eq for NoSkipInlineQueryResultCachedSticker
impl StructuralPartialEq for NoSkipInlineQueryResultCachedSticker
Auto Trait Implementations§
impl Freeze for NoSkipInlineQueryResultCachedSticker
impl RefUnwindSafe for NoSkipInlineQueryResultCachedSticker
impl Send for NoSkipInlineQueryResultCachedSticker
impl Sync for NoSkipInlineQueryResultCachedSticker
impl Unpin for NoSkipInlineQueryResultCachedSticker
impl UnsafeUnpin for NoSkipInlineQueryResultCachedSticker
impl UnwindSafe for NoSkipInlineQueryResultCachedSticker
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.