Struct spacetraders::responses::AvailableLoan [−][src]
pub struct AvailableLoan { pub loan_type: LoanType, pub amount: i32, pub rate: f64, pub term_in_days: i32, pub collateral_required: bool, }
A representation of an available loan
Fields
loan_type: LoanType
The loan type
amount: i32
The amount the user will receive from the loan
rate: f64
The payback rate of the loan
term_in_days: i32
The loan term length
collateral_required: bool
Does this loan require some collateral or not
Trait Implementations
impl Clone for AvailableLoan
[src]
impl Clone for AvailableLoan
[src]fn clone(&self) -> AvailableLoan
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for AvailableLoan
[src]
impl<'de> Deserialize<'de> for AvailableLoan
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for AvailableLoan
impl RefUnwindSafe for AvailableLoan
impl Send for AvailableLoan
impl Send for AvailableLoan
impl Sync for AvailableLoan
impl Sync for AvailableLoan
impl Unpin for AvailableLoan
impl Unpin for AvailableLoan
impl UnwindSafe for AvailableLoan
impl UnwindSafe for AvailableLoan
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]