pub struct CTAComponent {
pub description: String,
pub local_amount: Decimal,
pub rate: Decimal,
pub group_amount: Decimal,
}Expand description
Component of CTA calculation.
Fields§
§description: StringComponent description.
local_amount: DecimalLocal currency amount.
rate: DecimalRate applied.
group_amount: DecimalGroup currency amount.
Trait Implementations§
Source§impl Clone for CTAComponent
impl Clone for CTAComponent
Source§fn clone(&self) -> CTAComponent
fn clone(&self) -> CTAComponent
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 moreAuto Trait Implementations§
impl Freeze for CTAComponent
impl RefUnwindSafe for CTAComponent
impl Send for CTAComponent
impl Sync for CTAComponent
impl Unpin for CTAComponent
impl UnwindSafe for CTAComponent
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