Struct stripe::UpdateCreditNote
source · pub struct UpdateCreditNote<'a> {
pub expand: &'a [&'a str],
pub memo: Option<&'a str>,
pub metadata: Option<Metadata>,
}
Expand description
The parameters for CreditNote::update
.
Fields§
§expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
memo: Option<&'a str>
Credit note memo.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
Implementations§
source§impl<'a> UpdateCreditNote<'a>
impl<'a> UpdateCreditNote<'a>
Trait Implementations§
source§impl<'a> Clone for UpdateCreditNote<'a>
impl<'a> Clone for UpdateCreditNote<'a>
source§fn clone(&self) -> UpdateCreditNote<'a>
fn clone(&self) -> UpdateCreditNote<'a>
Returns a copy 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<'a> Debug for UpdateCreditNote<'a>
impl<'a> Debug for UpdateCreditNote<'a>
source§impl<'a> Default for UpdateCreditNote<'a>
impl<'a> Default for UpdateCreditNote<'a>
source§fn default() -> UpdateCreditNote<'a>
fn default() -> UpdateCreditNote<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UpdateCreditNote<'a>
impl<'a> Send for UpdateCreditNote<'a>
impl<'a> Sync for UpdateCreditNote<'a>
impl<'a> Unpin for UpdateCreditNote<'a>
impl<'a> UnwindSafe for UpdateCreditNote<'a>
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