pub struct OperationalWebhookEndpointUpdate {
pub description: Option<String>,
pub disabled: Option<bool>,
pub filter_types: Option<Vec<String>>,
pub metadata: Option<HashMap<String, String>>,
pub rate_limit: Option<i32>,
pub uid: Option<String>,
pub url: String,
}
Fields§
§description: Option<String>
§disabled: Option<bool>
§filter_types: Option<Vec<String>>
§metadata: Option<HashMap<String, String>>
§rate_limit: Option<i32>
§uid: Option<String>
Optional unique identifier for the endpoint
url: String
Implementations§
Source§impl OperationalWebhookEndpointUpdate
impl OperationalWebhookEndpointUpdate
pub fn new(url: String) -> OperationalWebhookEndpointUpdate
Trait Implementations§
Source§impl Clone for OperationalWebhookEndpointUpdate
impl Clone for OperationalWebhookEndpointUpdate
Source§fn clone(&self) -> OperationalWebhookEndpointUpdate
fn clone(&self) -> OperationalWebhookEndpointUpdate
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 Default for OperationalWebhookEndpointUpdate
impl Default for OperationalWebhookEndpointUpdate
Source§fn default() -> OperationalWebhookEndpointUpdate
fn default() -> OperationalWebhookEndpointUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationalWebhookEndpointUpdate
impl<'de> Deserialize<'de> for OperationalWebhookEndpointUpdate
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 OperationalWebhookEndpointUpdate
impl PartialEq for OperationalWebhookEndpointUpdate
Source§fn eq(&self, other: &OperationalWebhookEndpointUpdate) -> bool
fn eq(&self, other: &OperationalWebhookEndpointUpdate) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OperationalWebhookEndpointUpdate
Auto Trait Implementations§
impl Freeze for OperationalWebhookEndpointUpdate
impl RefUnwindSafe for OperationalWebhookEndpointUpdate
impl Send for OperationalWebhookEndpointUpdate
impl Sync for OperationalWebhookEndpointUpdate
impl Unpin for OperationalWebhookEndpointUpdate
impl UnwindSafe for OperationalWebhookEndpointUpdate
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