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: String
File identifier of the sticker
Implementations§
Trait Implementations§
source§impl Clone for DeleteStickerFromSet
impl Clone for DeleteStickerFromSet
source§impl Debug for DeleteStickerFromSet
impl Debug for DeleteStickerFromSet
source§impl Hash for DeleteStickerFromSet
impl Hash for DeleteStickerFromSet
source§impl PartialEq<DeleteStickerFromSet> for DeleteStickerFromSet
impl PartialEq<DeleteStickerFromSet> for DeleteStickerFromSet
source§fn eq(&self, other: &DeleteStickerFromSet) -> bool
fn eq(&self, other: &DeleteStickerFromSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for DeleteStickerFromSet
impl Payload for DeleteStickerFromSet
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 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§
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.