Struct telexide::api::types::DeleteWebhook
source · pub struct DeleteWebhook {
pub drop_pending_updates: Option<bool>,
}
Expand description
Struct for holding data needed to call delete_webhook
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 copy 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 Default for DeleteWebhook
impl Default for DeleteWebhook
source§fn default() -> DeleteWebhook
fn default() -> DeleteWebhook
Returns the “default value” for a type. Read more
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 PartialEq for DeleteWebhook
impl PartialEq for DeleteWebhook
source§fn eq(&self, other: &DeleteWebhook) -> bool
fn eq(&self, other: &DeleteWebhook) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeleteWebhook
impl Serialize for DeleteWebhook
impl Eq for DeleteWebhook
impl StructuralEq for DeleteWebhook
impl StructuralPartialEq 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§
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
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage>
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.