Struct tdlib_rs::types::InputMessageVideoNote
source · pub struct InputMessageVideoNote {
pub video_note: InputFile,
pub thumbnail: Option<InputThumbnail>,
pub duration: i32,
pub length: i32,
}
Expand description
A video note message
Fields§
§video_note: InputFile
Video note to be sent
thumbnail: Option<InputThumbnail>
Video thumbnail; pass null to skip thumbnail uploading
duration: i32
Duration of the video, in seconds
length: i32
Video width and height; must be positive and not greater than 640
Trait Implementations§
source§impl Clone for InputMessageVideoNote
impl Clone for InputMessageVideoNote
source§fn clone(&self) -> InputMessageVideoNote
fn clone(&self) -> InputMessageVideoNote
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 Debug for InputMessageVideoNote
impl Debug for InputMessageVideoNote
source§impl<'de> Deserialize<'de> for InputMessageVideoNote
impl<'de> Deserialize<'de> for InputMessageVideoNote
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 PartialEq for InputMessageVideoNote
impl PartialEq for InputMessageVideoNote
source§fn eq(&self, other: &InputMessageVideoNote) -> bool
fn eq(&self, other: &InputMessageVideoNote) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InputMessageVideoNote
impl Serialize for InputMessageVideoNote
impl StructuralPartialEq for InputMessageVideoNote
Auto Trait Implementations§
impl Freeze for InputMessageVideoNote
impl RefUnwindSafe for InputMessageVideoNote
impl Send for InputMessageVideoNote
impl Sync for InputMessageVideoNote
impl Unpin for InputMessageVideoNote
impl UnwindSafe for InputMessageVideoNote
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