pub struct ChatPhotoSticker {
pub type: ChatPhotoStickerType,
pub background_fill: BackgroundFill,
}
Expand description
Information about the sticker, which was used to create the chat photo. The sticker is shown at the center of the photo and occupies at most 67% of it
Fields§
§type: ChatPhotoStickerType
Type of the sticker
background_fill: BackgroundFill
The fill to be used as background for the sticker; rotation angle in backgroundFillGradient isn’t supported
Trait Implementations§
Source§impl Clone for ChatPhotoSticker
impl Clone for ChatPhotoSticker
Source§fn clone(&self) -> ChatPhotoSticker
fn clone(&self) -> ChatPhotoSticker
Returns a duplicate 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 ChatPhotoSticker
impl Debug for ChatPhotoSticker
Source§impl<'de> Deserialize<'de> for ChatPhotoSticker
impl<'de> Deserialize<'de> for ChatPhotoSticker
Source§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
Source§impl PartialEq for ChatPhotoSticker
impl PartialEq for ChatPhotoSticker
Source§impl Serialize for ChatPhotoSticker
impl Serialize for ChatPhotoSticker
impl StructuralPartialEq for ChatPhotoSticker
Auto Trait Implementations§
impl Freeze for ChatPhotoSticker
impl RefUnwindSafe for ChatPhotoSticker
impl Send for ChatPhotoSticker
impl Sync for ChatPhotoSticker
impl Unpin for ChatPhotoSticker
impl UnwindSafe for ChatPhotoSticker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more