Struct frankenstein::objects::InlineQueryResultCachedGif
source · [−]pub struct InlineQueryResultCachedGif {
pub id: String,
pub gif_file_id: String,
pub title: Option<String>,
pub caption: Option<String>,
pub parse_mode: Option<ParseMode>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}
Fields
id: String
gif_file_id: String
title: Option<String>
parse_mode: Option<ParseMode>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<InputMessageContent>
Implementations
sourceimpl InlineQueryResultCachedGif
impl InlineQueryResultCachedGif
sourcepub fn builder(
) -> InlineQueryResultCachedGifBuilder<((), (), (), (), (), (), (), ())>
pub fn builder(
) -> InlineQueryResultCachedGifBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building InlineQueryResultCachedGif
.
On the builder, call .id(...)
, .gif_file_id(...)
, .title(...)
(optional), .caption(...)
(optional), .parse_mode(...)
(optional), .caption_entities(...)
(optional), .reply_markup(...)
(optional), .input_message_content(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InlineQueryResultCachedGif
.
Trait Implementations
sourceimpl Clone for InlineQueryResultCachedGif
impl Clone for InlineQueryResultCachedGif
sourcefn clone(&self) -> InlineQueryResultCachedGif
fn clone(&self) -> InlineQueryResultCachedGif
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 more
sourceimpl Debug for InlineQueryResultCachedGif
impl Debug for InlineQueryResultCachedGif
sourceimpl<'de> Deserialize<'de> for InlineQueryResultCachedGif
impl<'de> Deserialize<'de> for InlineQueryResultCachedGif
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 PartialEq<InlineQueryResultCachedGif> for InlineQueryResultCachedGif
impl PartialEq<InlineQueryResultCachedGif> for InlineQueryResultCachedGif
sourcefn eq(&self, other: &InlineQueryResultCachedGif) -> bool
fn eq(&self, other: &InlineQueryResultCachedGif) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InlineQueryResultCachedGif) -> bool
fn ne(&self, other: &InlineQueryResultCachedGif) -> bool
This method tests for !=
.
impl StructuralPartialEq for InlineQueryResultCachedGif
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultCachedGif
impl Send for InlineQueryResultCachedGif
impl Sync for InlineQueryResultCachedGif
impl Unpin for InlineQueryResultCachedGif
impl UnwindSafe for InlineQueryResultCachedGif
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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