pub struct DeleteWebhook {
pub drop_pending_updates: Option<bool>,
}
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§
Source§impl DeleteWebhook
impl DeleteWebhook
Trait Implementations§
Source§impl Clone for DeleteWebhook
impl Clone for DeleteWebhook
Source§fn clone(&self) -> DeleteWebhook
fn clone(&self) -> DeleteWebhook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeleteWebhook
impl Debug for DeleteWebhook
Source§impl<'de> Deserialize<'de> for DeleteWebhook
impl<'de> Deserialize<'de> for DeleteWebhook
Source§fn 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
Source§impl Methods for DeleteWebhook
impl Methods for DeleteWebhook
Auto Trait Implementations§
impl Freeze for DeleteWebhook
impl RefUnwindSafe for DeleteWebhook
impl Send for DeleteWebhook
impl Sync for DeleteWebhook
impl Unpin for DeleteWebhook
impl UnwindSafe for DeleteWebhook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more