pub struct SetStickerPositionInSet {
pub sticker: String,
pub position: i64,
}
Expand description
Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.
Fields§
§sticker: String
File identifier of the sticker
position: i64
New sticker position in the set, zero-based
Implementations§
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 Methods for SetStickerPositionInSet
impl Methods 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