Struct frankenstein::api_params::InputMediaVideo [−][src]
pub struct InputMediaVideo {
pub media: File,
pub thumb: Option<File>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub width: Option<u32>,
pub height: Option<u32>,
pub duration: Option<u32>,
pub supports_streaming: Option<bool>,
}
Fields
media: File
thumb: Option<File>
parse_mode: Option<String>
width: Option<u32>
height: Option<u32>
duration: Option<u32>
supports_streaming: Option<bool>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InputMediaVideo
impl Send for InputMediaVideo
impl Sync for InputMediaVideo
impl Unpin for InputMediaVideo
impl UnwindSafe for InputMediaVideo
Blanket Implementations
Mutably borrows from an owned value. Read more