pub struct CreateWebhookDestinationRequest {
pub api_version: Date,
pub description: Option<String>,
pub enabled_events: WebhookEventSelection,
pub name: String,
pub status: Option<WebhookDestinationStatus>,
pub url: String,
}Fields§
§api_version: Date§description: Option<String>§enabled_events: WebhookEventSelection§name: String§status: Option<WebhookDestinationStatus>Default: enabled.
url: StringHTTPS URL without credentials or a fragment.
Implementations§
Source§impl CreateWebhookDestinationRequest
impl CreateWebhookDestinationRequest
pub fn serialize<__S>(
__self: &CreateWebhookDestinationRequest,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> CreateWebhookDestinationRequest
impl<'de> CreateWebhookDestinationRequest
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateWebhookDestinationRequest, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateWebhookDestinationRequest
impl<'de> Deserialize<'de> for CreateWebhookDestinationRequest
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 CreateWebhookDestinationRequest
impl RefUnwindSafe for CreateWebhookDestinationRequest
impl Send for CreateWebhookDestinationRequest
impl Sync for CreateWebhookDestinationRequest
impl Unpin for CreateWebhookDestinationRequest
impl UnsafeUnpin for CreateWebhookDestinationRequest
impl UnwindSafe for CreateWebhookDestinationRequest
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