Struct spacetraders::shared::Loan [−][src]
pub struct Loan { pub id: String, pub due: DateTime<Utc>, pub repayment_amount: i32, pub status: String, pub loan_type: LoanType, }
Expand description
A representation of a loan
Fields
id: String
The id of the loan
due: DateTime<Utc>
The due date of the loan
repayment_amount: i32
The repayment amount of the loan
status: String
The current loan status
loan_type: LoanType
The type of the loan
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Loan
impl UnwindSafe for Loan
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V