Struct rust_tdlib::types::InputInlineQueryResultAnimation
source · [−]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
sourceimpl 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
sourceimpl AsRef<InputInlineQueryResultAnimation> for InputInlineQueryResultAnimation
impl AsRef<InputInlineQueryResultAnimation> for InputInlineQueryResultAnimation
sourcefn as_ref(&self) -> &InputInlineQueryResultAnimation
fn as_ref(&self) -> &InputInlineQueryResultAnimation
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputInlineQueryResultAnimation
impl Clone for InputInlineQueryResultAnimation
sourcefn clone(&self) -> InputInlineQueryResultAnimation
fn clone(&self) -> InputInlineQueryResultAnimation
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 Default for InputInlineQueryResultAnimation
impl Default for InputInlineQueryResultAnimation
sourcefn default() -> InputInlineQueryResultAnimation
fn default() -> InputInlineQueryResultAnimation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResultAnimation
impl<'de> Deserialize<'de> for InputInlineQueryResultAnimation
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
impl TDInputInlineQueryResult for InputInlineQueryResultAnimation
Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResultAnimation
impl Send for InputInlineQueryResultAnimation
impl Sync for InputInlineQueryResultAnimation
impl Unpin for InputInlineQueryResultAnimation
impl UnwindSafe for InputInlineQueryResultAnimation
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