pub struct CreditNoteItem {
pub lago_id: Uuid,
pub amount_cents: i64,
pub amount_currency: String,
pub fee: Option<Value>,
}Expand description
A line item in a credit note
Fields§
§lago_id: UuidUnique identifier for the item
amount_cents: i64Amount in cents for this item
amount_currency: StringCurrency for the amount
fee: Option<Value>The associated fee object
Trait Implementations§
Source§impl Clone for CreditNoteItem
impl Clone for CreditNoteItem
Source§fn clone(&self) -> CreditNoteItem
fn clone(&self) -> CreditNoteItem
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 CreditNoteItem
impl Debug for CreditNoteItem
Source§impl<'de> Deserialize<'de> for CreditNoteItem
impl<'de> Deserialize<'de> for CreditNoteItem
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 CreditNoteItem
impl RefUnwindSafe for CreditNoteItem
impl Send for CreditNoteItem
impl Sync for CreditNoteItem
impl Unpin for CreditNoteItem
impl UnwindSafe for CreditNoteItem
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