pub struct WebhookEndpointUpdateInput {
pub name: Option<String>,
pub callback_url: Option<String>,
pub is_active: Option<bool>,
pub event_types: Vec<String>,
}Expand description
PATCH body for
Client::update_webhook_endpoint.
Only Some fields are sent.
Fields§
§name: Option<String>New name.
callback_url: Option<String>New callback URL.
is_active: Option<bool>Enable/disable.
event_types: Vec<String>Replace the subscribed event-type list.
Trait Implementations§
Source§impl Clone for WebhookEndpointUpdateInput
impl Clone for WebhookEndpointUpdateInput
Source§fn clone(&self) -> WebhookEndpointUpdateInput
fn clone(&self) -> WebhookEndpointUpdateInput
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 WebhookEndpointUpdateInput
impl Debug for WebhookEndpointUpdateInput
Source§impl Default for WebhookEndpointUpdateInput
impl Default for WebhookEndpointUpdateInput
Source§fn default() -> WebhookEndpointUpdateInput
fn default() -> WebhookEndpointUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookEndpointUpdateInput
impl<'de> Deserialize<'de> for WebhookEndpointUpdateInput
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 WebhookEndpointUpdateInput
impl PartialEq for WebhookEndpointUpdateInput
Source§fn eq(&self, other: &WebhookEndpointUpdateInput) -> bool
fn eq(&self, other: &WebhookEndpointUpdateInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WebhookEndpointUpdateInput
impl StructuralPartialEq for WebhookEndpointUpdateInput
Auto Trait Implementations§
impl Freeze for WebhookEndpointUpdateInput
impl RefUnwindSafe for WebhookEndpointUpdateInput
impl Send for WebhookEndpointUpdateInput
impl Sync for WebhookEndpointUpdateInput
impl Unpin for WebhookEndpointUpdateInput
impl UnsafeUnpin for WebhookEndpointUpdateInput
impl UnwindSafe for WebhookEndpointUpdateInput
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