pub struct WebhookUpdateInput {
pub label: Option<String>,
pub secret: Option<String>,
pub enabled: Option<bool>,
pub url: Option<String>,
pub resource_types: Option<Vec<String>>,
}Fields§
§label: Option<String>Label for the webhook.
secret: Option<String>A secret token used to sign the webhook payload.
enabled: Option<bool>Whether this webhook is enabled.
url: Option<String>The URL that will be called on data changes.
resource_types: Option<Vec<String>>List of resources the webhook should subscribe to.
Trait Implementations§
Source§impl Clone for WebhookUpdateInput
impl Clone for WebhookUpdateInput
Source§fn clone(&self) -> WebhookUpdateInput
fn clone(&self) -> WebhookUpdateInput
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 WebhookUpdateInput
impl Debug for WebhookUpdateInput
Source§impl Default for WebhookUpdateInput
impl Default for WebhookUpdateInput
Source§fn default() -> WebhookUpdateInput
fn default() -> WebhookUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookUpdateInput
impl<'de> Deserialize<'de> for WebhookUpdateInput
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 WebhookUpdateInput
impl RefUnwindSafe for WebhookUpdateInput
impl Send for WebhookUpdateInput
impl Sync for WebhookUpdateInput
impl Unpin for WebhookUpdateInput
impl UnwindSafe for WebhookUpdateInput
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