Struct teloxide_core::payloads::SetStickerPositionInSet
source · pub struct SetStickerPositionInSet {
pub sticker: String,
pub position: u32,
}
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: u32
New sticker position in the set, zero-based
Implementations§
Trait Implementations§
source§impl Clone for SetStickerPositionInSet
impl Clone for SetStickerPositionInSet
source§impl Debug for SetStickerPositionInSet
impl Debug for SetStickerPositionInSet
source§impl Hash for SetStickerPositionInSet
impl Hash for SetStickerPositionInSet
source§impl PartialEq<SetStickerPositionInSet> for SetStickerPositionInSet
impl PartialEq<SetStickerPositionInSet> for SetStickerPositionInSet
source§fn eq(&self, other: &SetStickerPositionInSet) -> bool
fn eq(&self, other: &SetStickerPositionInSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for SetStickerPositionInSet
impl Payload for SetStickerPositionInSet
source§fn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates
with
big timeout
), the minimum timeout that should be used.source§impl Serialize for SetStickerPositionInSet
impl Serialize for SetStickerPositionInSet
impl Eq for SetStickerPositionInSet
impl StructuralEq for SetStickerPositionInSet
impl StructuralPartialEq 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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.