pub struct WebhookUpdateRequest {
pub filters: Vec<Value>,
}
Fields§
§filters: Vec<Value>
An array of WebhookFilter objects to specify a whitelist of filters to apply to events from this webhook. If a webhook event passes any of the filters the event will be delivered; otherwise no event will be sent to the receiving server.
Trait Implementations§
Source§impl Clone for WebhookUpdateRequest
impl Clone for WebhookUpdateRequest
Source§fn clone(&self) -> WebhookUpdateRequest
fn clone(&self) -> WebhookUpdateRequest
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 WebhookUpdateRequest
impl Debug for WebhookUpdateRequest
Source§impl Default for WebhookUpdateRequest
impl Default for WebhookUpdateRequest
Source§fn default() -> WebhookUpdateRequest
fn default() -> WebhookUpdateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookUpdateRequest
impl<'de> Deserialize<'de> for WebhookUpdateRequest
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 Display for WebhookUpdateRequest
impl Display for WebhookUpdateRequest
Auto Trait Implementations§
impl Freeze for WebhookUpdateRequest
impl RefUnwindSafe for WebhookUpdateRequest
impl Send for WebhookUpdateRequest
impl Sync for WebhookUpdateRequest
impl Unpin for WebhookUpdateRequest
impl UnwindSafe for WebhookUpdateRequest
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