Struct teloxide_core::payloads::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: StringFile identifier of the sticker
position: u32New sticker position in the set, zero-based
Implementations
Trait Implementations
sourceimpl Clone for SetStickerPositionInSet
impl Clone for SetStickerPositionInSet
sourcefn clone(&self) -> SetStickerPositionInSetⓘNotable traits for SetStickerPositionInSetimpl Payload for SetStickerPositionInSet type Output = True;
fn clone(&self) -> SetStickerPositionInSetⓘNotable traits for SetStickerPositionInSetimpl Payload for SetStickerPositionInSet type Output = True;
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SetStickerPositionInSet
impl Debug for SetStickerPositionInSet
sourceimpl Hash for SetStickerPositionInSet
impl Hash for SetStickerPositionInSet
sourceimpl PartialEq<SetStickerPositionInSet> for SetStickerPositionInSet
impl PartialEq<SetStickerPositionInSet> for SetStickerPositionInSet
sourcefn eq(&self, other: &SetStickerPositionInSet) -> bool
fn eq(&self, other: &SetStickerPositionInSet) -> bool
sourceimpl Payload for SetStickerPositionInSet
impl Payload for SetStickerPositionInSet
sourcefn 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. Read moresourceimpl 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
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.