Struct billecta::WebhookSetting
source · pub struct WebhookSetting {
pub url: Option<String>,
pub webhook_triggers: Vec<WebhookTrigger>,
pub headers: Vec<WebhookHeader>,
}
Fields§
§url: Option<String>
§webhook_triggers: Vec<WebhookTrigger>
§headers: Vec<WebhookHeader>
Trait Implementations§
source§impl Clone for WebhookSetting
impl Clone for WebhookSetting
source§fn clone(&self) -> WebhookSetting
fn clone(&self) -> WebhookSetting
Returns a copy 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 WebhookSetting
impl Debug for WebhookSetting
source§impl Default for WebhookSetting
impl Default for WebhookSetting
source§fn default() -> WebhookSetting
fn default() -> WebhookSetting
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WebhookSetting
impl<'de> Deserialize<'de> for WebhookSetting
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 WebhookSetting
impl RefUnwindSafe for WebhookSetting
impl Send for WebhookSetting
impl Sync for WebhookSetting
impl Unpin for WebhookSetting
impl UnwindSafe for WebhookSetting
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