pub struct InstallmentPrice { /* private fields */ }Implementations§
Source§impl InstallmentPrice
impl InstallmentPrice
pub fn set_installment_price<T: Into<BigDecimal>>( &mut self, installment_price: T, )
pub fn set_total_price<T: Into<BigDecimal>>(&mut self, total_price: T)
pub fn set_installment_number<T: Into<u8>>(&mut self, installment_number: T)
pub fn installment_price(&self) -> Option<&BigDecimal>
pub fn total_price(&self) -> Option<&BigDecimal>
pub fn installment_number(&self) -> Option<&u8>
Trait Implementations§
Source§impl Debug for InstallmentPrice
impl Debug for InstallmentPrice
Source§impl Default for InstallmentPrice
impl Default for InstallmentPrice
Source§fn default() -> InstallmentPrice
fn default() -> InstallmentPrice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallmentPrice
impl<'de> Deserialize<'de> for InstallmentPrice
Source§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
Source§impl PartialEq for InstallmentPrice
impl PartialEq for InstallmentPrice
Source§impl Serialize for InstallmentPrice
impl Serialize for InstallmentPrice
impl StructuralPartialEq for InstallmentPrice
Auto Trait Implementations§
impl Freeze for InstallmentPrice
impl RefUnwindSafe for InstallmentPrice
impl Send for InstallmentPrice
impl Sync for InstallmentPrice
impl Unpin for InstallmentPrice
impl UnwindSafe for InstallmentPrice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more