Struct rust_tdlib::types::InputMessageAnimation
source · [−]pub struct InputMessageAnimation { /* private fields */ }
Expand description
An animation message (GIF-style).
Implementations
sourceimpl InputMessageAnimation
impl InputMessageAnimation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputMessageAnimationBuilder
pub fn animation(&self) -> &InputFile
pub fn thumbnail(&self) -> &InputThumbnail
pub fn added_sticker_file_ids(&self) -> &Vec<i32>
pub fn duration(&self) -> i32
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn caption(&self) -> &FormattedText
Trait Implementations
sourceimpl AsRef<InputMessageAnimation> for InputMessageAnimation
impl AsRef<InputMessageAnimation> for InputMessageAnimation
sourcefn as_ref(&self) -> &InputMessageAnimation
fn as_ref(&self) -> &InputMessageAnimation
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputMessageAnimation
impl Clone for InputMessageAnimation
sourcefn clone(&self) -> InputMessageAnimation
fn clone(&self) -> InputMessageAnimation
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 InputMessageAnimation
impl Debug for InputMessageAnimation
sourceimpl Default for InputMessageAnimation
impl Default for InputMessageAnimation
sourcefn default() -> InputMessageAnimation
fn default() -> InputMessageAnimation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputMessageAnimation
impl<'de> Deserialize<'de> for InputMessageAnimation
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 Serialize for InputMessageAnimation
impl Serialize for InputMessageAnimation
impl TDInputMessageContent for InputMessageAnimation
Auto Trait Implementations
impl RefUnwindSafe for InputMessageAnimation
impl Send for InputMessageAnimation
impl Sync for InputMessageAnimation
impl Unpin for InputMessageAnimation
impl UnwindSafe for InputMessageAnimation
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