pub struct WebhookDataBase {
pub id: Option<String>,
pub enabled: Option<bool>,
pub automatic_redelivery: Option<bool>,
pub url: Option<String>,
pub authorized_events: Option<Box<WebhookDataBaseAuthorizedEvents>>,
}Fields§
§id: Option<String>The id of the webhook
enabled: Option<bool>Whether this webhook is enabled or not
automatic_redelivery: Option<bool>If true, BTCPay Server will retry to redeliver any failed delivery after 10 seconds, 1 minutes and up to 6 times after 10 minutes.
url: Option<String>The endpoint where BTCPay Server will make the POST request with the webhook body
Implementations§
Source§impl WebhookDataBase
impl WebhookDataBase
pub fn new() -> WebhookDataBase
Trait Implementations§
Source§impl Clone for WebhookDataBase
impl Clone for WebhookDataBase
Source§fn clone(&self) -> WebhookDataBase
fn clone(&self) -> WebhookDataBase
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 WebhookDataBase
impl Debug for WebhookDataBase
Source§impl Default for WebhookDataBase
impl Default for WebhookDataBase
Source§fn default() -> WebhookDataBase
fn default() -> WebhookDataBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDataBase
impl<'de> Deserialize<'de> for WebhookDataBase
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 WebhookDataBase
impl PartialEq for WebhookDataBase
Source§impl Serialize for WebhookDataBase
impl Serialize for WebhookDataBase
impl StructuralPartialEq for WebhookDataBase
Auto Trait Implementations§
impl Freeze for WebhookDataBase
impl RefUnwindSafe for WebhookDataBase
impl Send for WebhookDataBase
impl Sync for WebhookDataBase
impl Unpin for WebhookDataBase
impl UnwindSafe for WebhookDataBase
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