pub struct InputInlineQueryResultAnimation { /* private fields */ }
Expand description
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video
Implementations§
Source§impl InputInlineQueryResultAnimation
impl InputInlineQueryResultAnimation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputInlineQueryResultAnimationBuilder
pub fn id(&self) -> &String
pub fn title(&self) -> &String
pub fn thumbnail_url(&self) -> &String
pub fn thumbnail_mime_type(&self) -> &String
pub fn video_url(&self) -> &String
pub fn video_mime_type(&self) -> &String
pub fn video_duration(&self) -> i32
pub fn video_width(&self) -> i32
pub fn video_height(&self) -> i32
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations§
Source§impl AsRef<InputInlineQueryResultAnimation> for InputInlineQueryResultAnimation
impl AsRef<InputInlineQueryResultAnimation> for InputInlineQueryResultAnimation
Source§fn as_ref(&self) -> &InputInlineQueryResultAnimation
fn as_ref(&self) -> &InputInlineQueryResultAnimation
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputInlineQueryResultAnimation
impl Clone for InputInlineQueryResultAnimation
Source§fn clone(&self) -> InputInlineQueryResultAnimation
fn clone(&self) -> InputInlineQueryResultAnimation
Returns a copy 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 InputInlineQueryResultAnimation
impl Default for InputInlineQueryResultAnimation
Source§fn default() -> InputInlineQueryResultAnimation
fn default() -> InputInlineQueryResultAnimation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputInlineQueryResultAnimation
impl<'de> Deserialize<'de> for InputInlineQueryResultAnimation
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
impl TDInputInlineQueryResult for InputInlineQueryResultAnimation
Auto Trait Implementations§
impl Freeze for InputInlineQueryResultAnimation
impl RefUnwindSafe for InputInlineQueryResultAnimation
impl Send for InputInlineQueryResultAnimation
impl Sync for InputInlineQueryResultAnimation
impl Unpin for InputInlineQueryResultAnimation
impl UnwindSafe for InputInlineQueryResultAnimation
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