Enum frankenstein::api_params::InputMedia [−][src]
pub enum InputMedia {
Animation(InputMediaAnimation),
Document(InputMediaDocument),
Audio(InputMediaAudio),
Photo(InputMediaPhoto),
Video(InputMediaVideo),
}
Variants
Animation(InputMediaAnimation)
Tuple Fields of Animation
Document(InputMediaDocument)
Tuple Fields of Document
Audio(InputMediaAudio)
Tuple Fields of Audio
Photo(InputMediaPhoto)
Tuple Fields of Photo
Video(InputMediaVideo)
Tuple Fields of Video
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 InputMedia
impl Send for InputMedia
impl Sync for InputMedia
impl Unpin for InputMedia
impl UnwindSafe for InputMedia
Blanket Implementations
Mutably borrows from an owned value. Read more