Struct frankenstein::objects::Game [−][src]
pub struct Game {
pub title: String,
pub description: String,
pub photo: Vec<PhotoSize>,
pub text: Option<String>,
pub text_entities: Option<Vec<MessageEntity>>,
pub animation: Option<Animation>,
}
Fields
title: String
description: String
photo: Vec<PhotoSize>
text: Option<String>
text_entities: Option<Vec<MessageEntity>>
animation: Option<Animation>
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
Auto Trait Implementations
impl RefUnwindSafe for Game
impl UnwindSafe for Game
Blanket Implementations
Mutably borrows from an owned value. Read more