pub struct WebhookDataUpdateAllOf {
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. If left out, null, or empty, the secret will not be changed.
Implementations§
Source§impl WebhookDataUpdateAllOf
impl WebhookDataUpdateAllOf
pub fn new() -> WebhookDataUpdateAllOf
Trait Implementations§
Source§impl Clone for WebhookDataUpdateAllOf
impl Clone for WebhookDataUpdateAllOf
Source§fn clone(&self) -> WebhookDataUpdateAllOf
fn clone(&self) -> WebhookDataUpdateAllOf
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 WebhookDataUpdateAllOf
impl Debug for WebhookDataUpdateAllOf
Source§impl Default for WebhookDataUpdateAllOf
impl Default for WebhookDataUpdateAllOf
Source§fn default() -> WebhookDataUpdateAllOf
fn default() -> WebhookDataUpdateAllOf
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDataUpdateAllOf
impl<'de> Deserialize<'de> for WebhookDataUpdateAllOf
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 WebhookDataUpdateAllOf
impl PartialEq for WebhookDataUpdateAllOf
Source§impl Serialize for WebhookDataUpdateAllOf
impl Serialize for WebhookDataUpdateAllOf
impl StructuralPartialEq for WebhookDataUpdateAllOf
Auto Trait Implementations§
impl Freeze for WebhookDataUpdateAllOf
impl RefUnwindSafe for WebhookDataUpdateAllOf
impl Send for WebhookDataUpdateAllOf
impl Sync for WebhookDataUpdateAllOf
impl Unpin for WebhookDataUpdateAllOf
impl UnwindSafe for WebhookDataUpdateAllOf
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