Struct telegram_bot_api::methods::SetStickerPositionInSet
source · [−]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
sourceimpl Clone for SetStickerPositionInSet
impl Clone for SetStickerPositionInSet
sourcefn clone(&self) -> SetStickerPositionInSet
fn clone(&self) -> SetStickerPositionInSet
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SetStickerPositionInSet
impl Debug for SetStickerPositionInSet
sourceimpl<'de> Deserialize<'de> for SetStickerPositionInSet
impl<'de> Deserialize<'de> for SetStickerPositionInSet
sourcefn 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
sourceimpl Methods for SetStickerPositionInSet
impl Methods for SetStickerPositionInSet
sourceimpl Serialize for SetStickerPositionInSet
impl Serialize for SetStickerPositionInSet
Auto Trait Implementations
impl RefUnwindSafe for SetStickerPositionInSet
impl Send for SetStickerPositionInSet
impl Sync for SetStickerPositionInSet
impl Unpin for SetStickerPositionInSet
impl UnwindSafe for SetStickerPositionInSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more