pub struct WebhookUpdate {
pub active: Option<bool>,
pub title: Option<String>,
pub secret: Option<String>,
pub triggers: Option<Vec<WebhookTrigger>>,
pub responses: Option<Vec<WebhookResponse>>,
pub deliveries: Option<Vec<WebhookDelivery>>,
pub url: Option<String>,
}Fields§
§active: Option<bool>Boolean to indicate if the webhook is active
title: Option<String>A title for the webhook for easy recognition.
secret: Option<String>A 24-character secret for the webhook. It’s generated by Firefly III when saving a new webhook. If you submit a new secret through the PUT endpoint it will generate a new secret for the selected webhook, a new secret bearing no relation to whatever you just submitted.
triggers: Option<Vec<WebhookTrigger>>§responses: Option<Vec<WebhookResponse>>§deliveries: Option<Vec<WebhookDelivery>>§url: Option<String>The URL of the webhook. Has to start with https.
Implementations§
Source§impl WebhookUpdate
impl WebhookUpdate
pub fn new() -> WebhookUpdate
Trait Implementations§
Source§impl Clone for WebhookUpdate
impl Clone for WebhookUpdate
Source§impl Debug for WebhookUpdate
impl Debug for WebhookUpdate
Source§impl Default for WebhookUpdate
impl Default for WebhookUpdate
Source§impl<'de> Deserialize<'de> for WebhookUpdate
impl<'de> Deserialize<'de> for WebhookUpdate
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 Display for WebhookUpdate
impl Display for WebhookUpdate
Source§impl PartialEq for WebhookUpdate
impl PartialEq for WebhookUpdate
Source§impl Serialize for WebhookUpdate
impl Serialize for WebhookUpdate
impl StructuralPartialEq for WebhookUpdate
Auto Trait Implementations§
impl Freeze for WebhookUpdate
impl RefUnwindSafe for WebhookUpdate
impl Send for WebhookUpdate
impl Sync for WebhookUpdate
impl Unpin for WebhookUpdate
impl UnsafeUnpin for WebhookUpdate
impl UnwindSafe for WebhookUpdate
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