1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use std::fmt;


#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub enum ActionTypeView {
    
    ContractInvoiceAction,
    CreditInvoiceAction,
    DebentureAction,
    DebtCollectionAction,
    InstallmentPlanAction,
    InterestInvoiceAction,
    InvoiceAction,
    OrderAction,
    OrderInvoiceAction,
    PaymentAdviceAction,
    ReconciliationInvoiceAction,
    SelfInvoiceAction,
    SupplierInvoiceAction,
    VerificationInvoiceAction,

}


impl fmt::Display for ActionTypeView {


    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "{:?}", self)
    }
    
}