pub struct WebhookDataBaseAuthorizedEvents {
pub everything: Option<bool>,
pub specific_events: Option<Vec<String>>,
}Expand description
WebhookDataBaseAuthorizedEvents : Which event should be received by this endpoint
Fields§
§everything: Option<bool>If true, the endpoint will receive all events related to the store.
specific_events: Option<Vec<String>>If everything is false, the specific events that the endpoint is interested in. Current events are: InvoiceCreated, InvoiceReceivedPayment, InvoiceProcessing, InvoiceExpired, InvoiceSettled, InvoiceInvalid.
Implementations§
Source§impl WebhookDataBaseAuthorizedEvents
impl WebhookDataBaseAuthorizedEvents
Sourcepub fn new() -> WebhookDataBaseAuthorizedEvents
pub fn new() -> WebhookDataBaseAuthorizedEvents
Which event should be received by this endpoint
Trait Implementations§
Source§impl Clone for WebhookDataBaseAuthorizedEvents
impl Clone for WebhookDataBaseAuthorizedEvents
Source§fn clone(&self) -> WebhookDataBaseAuthorizedEvents
fn clone(&self) -> WebhookDataBaseAuthorizedEvents
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 Default for WebhookDataBaseAuthorizedEvents
impl Default for WebhookDataBaseAuthorizedEvents
Source§fn default() -> WebhookDataBaseAuthorizedEvents
fn default() -> WebhookDataBaseAuthorizedEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDataBaseAuthorizedEvents
impl<'de> Deserialize<'de> for WebhookDataBaseAuthorizedEvents
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 WebhookDataBaseAuthorizedEvents
impl PartialEq for WebhookDataBaseAuthorizedEvents
Source§fn eq(&self, other: &WebhookDataBaseAuthorizedEvents) -> bool
fn eq(&self, other: &WebhookDataBaseAuthorizedEvents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebhookDataBaseAuthorizedEvents
Auto Trait Implementations§
impl Freeze for WebhookDataBaseAuthorizedEvents
impl RefUnwindSafe for WebhookDataBaseAuthorizedEvents
impl Send for WebhookDataBaseAuthorizedEvents
impl Sync for WebhookDataBaseAuthorizedEvents
impl Unpin for WebhookDataBaseAuthorizedEvents
impl UnwindSafe for WebhookDataBaseAuthorizedEvents
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