pub struct UpdateWebhookParams {
pub active: Option<bool>,
pub add_events: Option<Vec<String>>,
pub config: Option<UpdateWebhookConfigParams>,
pub events: Option<Vec<String>>,
pub remove_events: Option<Vec<String>>,
}Fields§
§active: Option<bool>§add_events: Option<Vec<String>>§config: Option<UpdateWebhookConfigParams>§events: Option<Vec<String>>§remove_events: Option<Vec<String>>Trait Implementations§
Source§impl Clone for UpdateWebhookParams
impl Clone for UpdateWebhookParams
Source§fn clone(&self) -> UpdateWebhookParams
fn clone(&self) -> UpdateWebhookParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateWebhookParams
impl Debug for UpdateWebhookParams
Source§impl<'de> Deserialize<'de> for UpdateWebhookParams
impl<'de> Deserialize<'de> for UpdateWebhookParams
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
Auto Trait Implementations§
impl Freeze for UpdateWebhookParams
impl RefUnwindSafe for UpdateWebhookParams
impl Send for UpdateWebhookParams
impl Sync for UpdateWebhookParams
impl Unpin for UpdateWebhookParams
impl UnsafeUnpin for UpdateWebhookParams
impl UnwindSafe for UpdateWebhookParams
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