Struct mpesa::InvoiceItem
source · pub struct InvoiceItem<'i> {
pub amount: f64,
pub item_name: &'i str,
}
Fields§
§amount: f64
§item_name: &'i str
Trait Implementations§
source§impl<'i> Debug for InvoiceItem<'i>
impl<'i> Debug for InvoiceItem<'i>
source§impl<'i> Display for InvoiceItem<'i>
impl<'i> Display for InvoiceItem<'i>
Auto Trait Implementations§
impl<'i> RefUnwindSafe for InvoiceItem<'i>
impl<'i> Send for InvoiceItem<'i>
impl<'i> Sync for InvoiceItem<'i>
impl<'i> Unpin for InvoiceItem<'i>
impl<'i> UnwindSafe for InvoiceItem<'i>
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