pub struct WebhookDataCreateAllOf {
pub secret: Option<String>,
}Fields§
§secret: Option<String>Must be used by the callback receiver to ensure the delivery comes from BTCPay Server. BTCPay Server includes the BTCPay-Sig HTTP header, whose format is sha256=HMAC256(UTF8(webhook's secret), body). The pattern to authenticate the webhook is similar to how to secure webhooks in Github.
Implementations§
Source§impl WebhookDataCreateAllOf
impl WebhookDataCreateAllOf
pub fn new() -> WebhookDataCreateAllOf
Trait Implementations§
Source§impl Clone for WebhookDataCreateAllOf
impl Clone for WebhookDataCreateAllOf
Source§fn clone(&self) -> WebhookDataCreateAllOf
fn clone(&self) -> WebhookDataCreateAllOf
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 WebhookDataCreateAllOf
impl Debug for WebhookDataCreateAllOf
Source§impl Default for WebhookDataCreateAllOf
impl Default for WebhookDataCreateAllOf
Source§fn default() -> WebhookDataCreateAllOf
fn default() -> WebhookDataCreateAllOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDataCreateAllOf
impl<'de> Deserialize<'de> for WebhookDataCreateAllOf
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 WebhookDataCreateAllOf
impl PartialEq for WebhookDataCreateAllOf
Source§impl Serialize for WebhookDataCreateAllOf
impl Serialize for WebhookDataCreateAllOf
impl StructuralPartialEq for WebhookDataCreateAllOf
Auto Trait Implementations§
impl Freeze for WebhookDataCreateAllOf
impl RefUnwindSafe for WebhookDataCreateAllOf
impl Send for WebhookDataCreateAllOf
impl Sync for WebhookDataCreateAllOf
impl Unpin for WebhookDataCreateAllOf
impl UnwindSafe for WebhookDataCreateAllOf
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