pub struct SetStickerPositionInSet {
pub sticker: InputFile,
pub position: i32,
}
Expand description
Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot
Fields§
§sticker: InputFile
Sticker
position: i32
New position of the sticker in the set, zero-based
Trait Implementations§
Source§impl Clone for SetStickerPositionInSet
impl Clone for SetStickerPositionInSet
Source§fn clone(&self) -> SetStickerPositionInSet
fn clone(&self) -> SetStickerPositionInSet
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 SetStickerPositionInSet
impl Debug for SetStickerPositionInSet
Source§impl<'de> Deserialize<'de> for SetStickerPositionInSet
impl<'de> Deserialize<'de> for SetStickerPositionInSet
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 Method for SetStickerPositionInSet
impl Method for SetStickerPositionInSet
Auto Trait Implementations§
impl Freeze for SetStickerPositionInSet
impl RefUnwindSafe for SetStickerPositionInSet
impl Send for SetStickerPositionInSet
impl Sync for SetStickerPositionInSet
impl Unpin for SetStickerPositionInSet
impl UnwindSafe for SetStickerPositionInSet
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