Struct telegram_bot_api::methods::DeleteWebhook
source · [−]Expand description
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
Fields
drop_pending_updates: Option<bool>
Pass True to drop all pending updates
Implementations
sourceimpl DeleteWebhook
impl DeleteWebhook
Trait Implementations
sourceimpl Clone for DeleteWebhook
impl Clone for DeleteWebhook
sourcefn clone(&self) -> DeleteWebhook
fn clone(&self) -> DeleteWebhook
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 DeleteWebhook
impl Debug for DeleteWebhook
sourceimpl<'de> Deserialize<'de> for DeleteWebhook
impl<'de> Deserialize<'de> for DeleteWebhook
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 DeleteWebhook
impl Methods for DeleteWebhook
sourceimpl Serialize for DeleteWebhook
impl Serialize for DeleteWebhook
Auto Trait Implementations
impl RefUnwindSafe for DeleteWebhook
impl Send for DeleteWebhook
impl Sync for DeleteWebhook
impl Unpin for DeleteWebhook
impl UnwindSafe for DeleteWebhook
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