pub struct CreateWebhook {
pub type_: WebHookType,
pub url: Url,
pub events: Vec<WebhookEvent>,
pub secret: String,
pub status: WebhookStatus,
}Expand description
Create Webhook Information
Fields§
§type_: WebHookType§url: Url§events: Vec<WebhookEvent>§secret: String§status: WebhookStatusTrait Implementations§
Source§impl Clone for CreateWebhook
impl Clone for CreateWebhook
Source§fn clone(&self) -> CreateWebhook
fn clone(&self) -> CreateWebhook
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 CreateWebhook
impl Debug for CreateWebhook
Source§impl<'de> Deserialize<'de> for CreateWebhook
impl<'de> Deserialize<'de> for CreateWebhook
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 CreateWebhook
impl RefUnwindSafe for CreateWebhook
impl Send for CreateWebhook
impl Sync for CreateWebhook
impl Unpin for CreateWebhook
impl UnwindSafe for CreateWebhook
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