pub struct InvoiceUpdatedEvent {
pub merchant_id: Option<Option<String>>,
pub type: Option<Option<String>>,
pub event_id: Option<Option<String>>,
pub created_at: Option<String>,
pub data: Option<Box<InvoiceUpdatedEventData>>,
}Expand description
InvoiceUpdatedEvent : Published when an Invoice is updated.
Fields§
§merchant_id: Option<Option<String>>The ID of the target merchant associated with the event.
type: Option<Option<String>>The type of event this represents, \"invoice.updated\".
event_id: Option<Option<String>>A unique ID for the event.
created_at: Option<String>Timestamp of when the event was created, in RFC 3339 format.
data: Option<Box<InvoiceUpdatedEventData>>Implementations§
Source§impl InvoiceUpdatedEvent
impl InvoiceUpdatedEvent
Sourcepub fn new() -> InvoiceUpdatedEvent
pub fn new() -> InvoiceUpdatedEvent
Published when an Invoice is updated.
Trait Implementations§
Source§impl Clone for InvoiceUpdatedEvent
impl Clone for InvoiceUpdatedEvent
Source§fn clone(&self) -> InvoiceUpdatedEvent
fn clone(&self) -> InvoiceUpdatedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvoiceUpdatedEvent
impl Debug for InvoiceUpdatedEvent
Source§impl Default for InvoiceUpdatedEvent
impl Default for InvoiceUpdatedEvent
Source§fn default() -> InvoiceUpdatedEvent
fn default() -> InvoiceUpdatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoiceUpdatedEvent
impl<'de> Deserialize<'de> for InvoiceUpdatedEvent
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 InvoiceUpdatedEvent
impl PartialEq for InvoiceUpdatedEvent
Source§impl Serialize for InvoiceUpdatedEvent
impl Serialize for InvoiceUpdatedEvent
impl StructuralPartialEq for InvoiceUpdatedEvent
Auto Trait Implementations§
impl Freeze for InvoiceUpdatedEvent
impl RefUnwindSafe for InvoiceUpdatedEvent
impl Send for InvoiceUpdatedEvent
impl Sync for InvoiceUpdatedEvent
impl Unpin for InvoiceUpdatedEvent
impl UnsafeUnpin for InvoiceUpdatedEvent
impl UnwindSafe for InvoiceUpdatedEvent
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