pub struct WebhookMetaDeletedHookConfig {
pub content_type: ContentType,
pub insecure_ssl: String,
pub secret: Option<String>,
pub url: String,
}
Fields§
§content_type: ContentType
§insecure_ssl: String
§secret: Option<String>
§url: String
Implementations§
Source§impl WebhookMetaDeletedHookConfig
impl WebhookMetaDeletedHookConfig
pub fn new( content_type: ContentType, insecure_ssl: String, url: String, ) -> WebhookMetaDeletedHookConfig
Trait Implementations§
Source§impl Clone for WebhookMetaDeletedHookConfig
impl Clone for WebhookMetaDeletedHookConfig
Source§fn clone(&self) -> WebhookMetaDeletedHookConfig
fn clone(&self) -> WebhookMetaDeletedHookConfig
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 WebhookMetaDeletedHookConfig
impl Debug for WebhookMetaDeletedHookConfig
Source§impl Default for WebhookMetaDeletedHookConfig
impl Default for WebhookMetaDeletedHookConfig
Source§fn default() -> WebhookMetaDeletedHookConfig
fn default() -> WebhookMetaDeletedHookConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMetaDeletedHookConfig
impl<'de> Deserialize<'de> for WebhookMetaDeletedHookConfig
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 WebhookMetaDeletedHookConfig
impl PartialEq for WebhookMetaDeletedHookConfig
Source§fn eq(&self, other: &WebhookMetaDeletedHookConfig) -> bool
fn eq(&self, other: &WebhookMetaDeletedHookConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookMetaDeletedHookConfig
Auto Trait Implementations§
impl Freeze for WebhookMetaDeletedHookConfig
impl RefUnwindSafe for WebhookMetaDeletedHookConfig
impl Send for WebhookMetaDeletedHookConfig
impl Sync for WebhookMetaDeletedHookConfig
impl Unpin for WebhookMetaDeletedHookConfig
impl UnwindSafe for WebhookMetaDeletedHookConfig
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