Struct telegram_bot::types::Sticker [−][src]
pub struct Sticker { pub file_id: String, pub width: Integer, pub height: Integer, pub thumb: Option<PhotoSize>, pub file_size: Option<Integer>, }
Telegram type "Sticker" (directly mapped)
Fields
file_id: String
width: Integer
height: Integer
thumb: Option<PhotoSize>
file_size: Option<Integer>
Trait Implementations
impl Decodable for Sticker
[src]
impl Decodable for Sticker
fn decode<__D: Decoder>(d: &mut __D) -> Result<Sticker, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Sticker, __D::Error>
Deserialize a value using a Decoder
.
impl Debug for Sticker
[src]
impl Debug for Sticker
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Sticker
[src]
impl PartialEq for Sticker
fn eq(&self, other: &Sticker) -> bool
[src]
fn eq(&self, other: &Sticker) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Sticker) -> bool
[src]
fn ne(&self, other: &Sticker) -> bool
This method tests for !=
.
impl Clone for Sticker
[src]
impl Clone for Sticker
fn clone(&self) -> Sticker
[src]
fn clone(&self) -> Sticker
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for Sticker
[src]
impl Encodable for Sticker