pub struct CoursePayment {
pub desc: String,
pub discount_desc: String,
pub discount_prefix: String,
pub pay_shade: String,
pub price: f64,
pub price_format: String,
}Fields§
§desc: String§discount_desc: String§discount_prefix: String§pay_shade: String§price: f64§price_format: StringTrait Implementations§
Source§impl Clone for CoursePayment
impl Clone for CoursePayment
Source§fn clone(&self) -> CoursePayment
fn clone(&self) -> CoursePayment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoursePayment
impl Debug for CoursePayment
Source§impl<'de> Deserialize<'de> for CoursePayment
impl<'de> Deserialize<'de> for CoursePayment
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
Auto Trait Implementations§
impl Freeze for CoursePayment
impl RefUnwindSafe for CoursePayment
impl Send for CoursePayment
impl Sync for CoursePayment
impl Unpin for CoursePayment
impl UnwindSafe for CoursePayment
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