Struct sbanken::models::transaction::Transaction [−][src]
pub struct Transaction {Show 16 fields
pub accounting_date: String,
pub interest_date: Option<String>,
pub other_account_number: Option<String>,
pub other_account_number_specified: bool,
pub amount: f32,
pub text: Option<String>,
pub transaction_type: Option<String>,
pub transaction_type_code: i32,
pub transaction_type_text: Option<String>,
pub is_reservation: bool,
pub reservation_type: Option<ReservationType>,
pub source: SourceType,
pub card_details_specified: bool,
pub card_details: Option<Box<CardDetails>>,
pub transaction_detail_specified: bool,
pub transaction_detail: Option<Box<TransactionDetail>>,
}
Fields
accounting_date: String
interest_date: Option<String>
other_account_number: Option<String>
other_account_number_specified: bool
amount: f32
text: Option<String>
transaction_type: Option<String>
transaction_type_code: i32
transaction_type_text: Option<String>
is_reservation: bool
reservation_type: Option<ReservationType>
source: SourceType
card_details_specified: bool
card_details: Option<Box<CardDetails>>
transaction_detail_specified: bool
transaction_detail: Option<Box<TransactionDetail>>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more