pub struct CreateWebhookEndpointIntent {
pub url: String,
pub name: String,
pub subscriptions: Vec<WebhookSubscriptionParams>,
}Fields§
§url: String@inject_tag: validate:“required”
name: String@inject_tag: validate:“required,tk_label,tk_label_length”
subscriptions: Vec<WebhookSubscriptionParams>@inject_tag: validate:“omitempty,dive”
Trait Implementations§
Source§impl Clone for CreateWebhookEndpointIntent
impl Clone for CreateWebhookEndpointIntent
Source§fn clone(&self) -> CreateWebhookEndpointIntent
fn clone(&self) -> CreateWebhookEndpointIntent
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 CreateWebhookEndpointIntent
impl Debug for CreateWebhookEndpointIntent
Source§impl<'de> Deserialize<'de> for CreateWebhookEndpointIntent
impl<'de> Deserialize<'de> for CreateWebhookEndpointIntent
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
impl StructuralPartialEq for CreateWebhookEndpointIntent
Auto Trait Implementations§
impl Freeze for CreateWebhookEndpointIntent
impl RefUnwindSafe for CreateWebhookEndpointIntent
impl Send for CreateWebhookEndpointIntent
impl Sync for CreateWebhookEndpointIntent
impl Unpin for CreateWebhookEndpointIntent
impl UnsafeUnpin for CreateWebhookEndpointIntent
impl UnwindSafe for CreateWebhookEndpointIntent
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