Struct teloxide_core::payloads::DeleteStickerFromSet
source · [−]pub struct DeleteStickerFromSet {
pub sticker: String,
}Expand description
Use this method to delete a sticker from a set created by the bot. Returns True on success.
Fields
sticker: StringFile identifier of the sticker
Implementations
Trait Implementations
sourceimpl Clone for DeleteStickerFromSet
impl Clone for DeleteStickerFromSet
sourcefn clone(&self) -> DeleteStickerFromSetⓘNotable traits for DeleteStickerFromSetimpl Payload for DeleteStickerFromSet type Output = True;
fn clone(&self) -> DeleteStickerFromSetⓘNotable traits for DeleteStickerFromSetimpl Payload for DeleteStickerFromSet 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 DeleteStickerFromSet
impl Debug for DeleteStickerFromSet
sourceimpl Hash for DeleteStickerFromSet
impl Hash for DeleteStickerFromSet
sourceimpl PartialEq<DeleteStickerFromSet> for DeleteStickerFromSet
impl PartialEq<DeleteStickerFromSet> for DeleteStickerFromSet
sourcefn eq(&self, other: &DeleteStickerFromSet) -> bool
fn eq(&self, other: &DeleteStickerFromSet) -> bool
sourceimpl Payload for DeleteStickerFromSet
impl Payload for DeleteStickerFromSet
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 DeleteStickerFromSet
impl Serialize for DeleteStickerFromSet
impl Eq for DeleteStickerFromSet
impl StructuralEq for DeleteStickerFromSet
impl StructuralPartialEq for DeleteStickerFromSet
Auto Trait Implementations
impl RefUnwindSafe for DeleteStickerFromSet
impl Send for DeleteStickerFromSet
impl Sync for DeleteStickerFromSet
impl Unpin for DeleteStickerFromSet
impl UnwindSafe for DeleteStickerFromSet
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.