PaymentEvent

Trait PaymentEvent 

Source
pub trait PaymentEvent: DeserializeOwned {
    type EventType: ToString;

    const PATH: &'static str;
}

Required Associated Constants§

Source

const PATH: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PaymentEvent for DebitNoteEvent

Source§

const PATH: &'static str = "debitNoteEvents"

Source§

type EventType = DebitNoteEventType

Source§

impl PaymentEvent for InvoiceEvent

Source§

const PATH: &'static str = "invoiceEvents"

Source§

type EventType = InvoiceEventType

Implementors§