pub struct CreateCreditNoteItemInput {
pub fee_id: String,
pub amount_cents: i64,
}Expand description
Item input for creating a credit note.
Fields§
§fee_id: StringThe Lago ID of the fee to credit
amount_cents: i64The amount to credit for this fee in cents
Implementations§
Trait Implementations§
Source§impl Clone for CreateCreditNoteItemInput
impl Clone for CreateCreditNoteItemInput
Source§fn clone(&self) -> CreateCreditNoteItemInput
fn clone(&self) -> CreateCreditNoteItemInput
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 CreateCreditNoteItemInput
impl Debug for CreateCreditNoteItemInput
Source§impl<'de> Deserialize<'de> for CreateCreditNoteItemInput
impl<'de> Deserialize<'de> for CreateCreditNoteItemInput
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 CreateCreditNoteItemInput
impl RefUnwindSafe for CreateCreditNoteItemInput
impl Send for CreateCreditNoteItemInput
impl Sync for CreateCreditNoteItemInput
impl Unpin for CreateCreditNoteItemInput
impl UnwindSafe for CreateCreditNoteItemInput
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