Struct tbot::types::input_file::PngSticker
source · pub struct PngSticker { /* private fields */ }
Expand description
Represents a PNG sticker to be uploaded in a sticker set.
Implementations§
Trait Implementations§
source§impl Clone for PngSticker
impl Clone for PngSticker
source§fn clone(&self) -> PngSticker
fn clone(&self) -> PngSticker
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PngSticker
impl Debug for PngSticker
source§impl From<PngSticker> for StickerForStickerSet
impl From<PngSticker> for StickerForStickerSet
source§fn from(sticker: PngSticker) -> Self
fn from(sticker: PngSticker) -> Self
Converts to this type from the input type.
source§impl Hash for PngSticker
impl Hash for PngSticker
source§impl PartialEq<PngSticker> for PngSticker
impl PartialEq<PngSticker> for PngSticker
source§fn eq(&self, other: &PngSticker) -> bool
fn eq(&self, other: &PngSticker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.