pub struct UpdateCreditNoteRequest {
pub lago_id: String,
pub credit_note: UpdateCreditNoteInput,
}Expand description
Request wrapper for updating a credit note.
Fields§
§lago_id: StringThe Lago ID of the credit note to update
credit_note: UpdateCreditNoteInputThe update input
Implementations§
Source§impl UpdateCreditNoteRequest
impl UpdateCreditNoteRequest
Sourcepub fn new(lago_id: String, input: UpdateCreditNoteInput) -> Self
pub fn new(lago_id: String, input: UpdateCreditNoteInput) -> Self
Creates a new update credit note request.
Trait Implementations§
Source§impl Clone for UpdateCreditNoteRequest
impl Clone for UpdateCreditNoteRequest
Source§fn clone(&self) -> UpdateCreditNoteRequest
fn clone(&self) -> UpdateCreditNoteRequest
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 UpdateCreditNoteRequest
impl Debug for UpdateCreditNoteRequest
Source§impl<'de> Deserialize<'de> for UpdateCreditNoteRequest
impl<'de> Deserialize<'de> for UpdateCreditNoteRequest
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 UpdateCreditNoteRequest
impl RefUnwindSafe for UpdateCreditNoteRequest
impl Send for UpdateCreditNoteRequest
impl Sync for UpdateCreditNoteRequest
impl Unpin for UpdateCreditNoteRequest
impl UnwindSafe for UpdateCreditNoteRequest
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