pub struct StickerImage {
pub url: String,
pub width: i32,
pub height: i32,
}Expand description
Sticker image
Fields§
§url: StringURL
width: i32Width
height: i32Height
Trait Implementations§
Source§impl Clone for StickerImage
impl Clone for StickerImage
Source§fn clone(&self) -> StickerImage
fn clone(&self) -> StickerImage
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 StickerImage
impl Debug for StickerImage
Source§impl<'de> Deserialize<'de> for StickerImage
impl<'de> Deserialize<'de> for StickerImage
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
Auto Trait Implementations§
impl Freeze for StickerImage
impl RefUnwindSafe for StickerImage
impl Send for StickerImage
impl Sync for StickerImage
impl Unpin for StickerImage
impl UnwindSafe for StickerImage
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