Struct sbanken::models::archive_transaction::ArchiveTransaction [−][src]
pub struct ArchiveTransaction {
pub transaction_id: Option<String>,
pub accounting_date: String,
pub interest_date: Option<String>,
pub amount: f32,
pub text: Option<String>,
pub transaction_type: Option<String>,
pub transaction_type_code: i32,
pub transaction_type_text: Option<String>,
pub source: SourceType,
pub card_details: Option<Box<CardDetails>>,
pub card_details_specified: bool,
}
Fields
transaction_id: Option<String>
accounting_date: String
interest_date: Option<String>
amount: f32
text: Option<String>
transaction_type: Option<String>
transaction_type_code: i32
transaction_type_text: Option<String>
source: SourceType
card_details: Option<Box<CardDetails>>
card_details_specified: bool
Implementations
pub fn new(
accounting_date: String,
amount: f32,
transaction_type_code: i32,
source: SourceType,
card_details_specified: bool
) -> ArchiveTransaction
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 ArchiveTransaction
impl Send for ArchiveTransaction
impl Sync for ArchiveTransaction
impl Unpin for ArchiveTransaction
impl UnwindSafe for ArchiveTransaction
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