Struct frankenstein::api_params::InputMediaPhoto [−][src]
pub struct InputMediaPhoto {
pub media: File,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
}
Fields
media: File
parse_mode: Option<String>
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 InputMediaPhoto
impl Send for InputMediaPhoto
impl Sync for InputMediaPhoto
impl Unpin for InputMediaPhoto
impl UnwindSafe for InputMediaPhoto
Blanket Implementations
Mutably borrows from an owned value. Read more