Struct stripe::UpdateTransfer
source · pub struct UpdateTransfer<'a> {
pub description: Option<&'a str>,
pub expand: &'a [&'a str],
pub metadata: Option<Metadata>,
}
Expand description
The parameters for Transfer::update
.
Fields§
§description: Option<&'a str>
An arbitrary string attached to the object.
Often useful for displaying to users.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
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> UpdateTransfer<'a>
impl<'a> UpdateTransfer<'a>
Trait Implementations§
source§impl<'a> Clone for UpdateTransfer<'a>
impl<'a> Clone for UpdateTransfer<'a>
source§fn clone(&self) -> UpdateTransfer<'a>
fn clone(&self) -> UpdateTransfer<'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 UpdateTransfer<'a>
impl<'a> Debug for UpdateTransfer<'a>
source§impl<'a> Default for UpdateTransfer<'a>
impl<'a> Default for UpdateTransfer<'a>
source§fn default() -> UpdateTransfer<'a>
fn default() -> UpdateTransfer<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for UpdateTransfer<'a>
impl<'a> RefUnwindSafe for UpdateTransfer<'a>
impl<'a> Send for UpdateTransfer<'a>
impl<'a> Sync for UpdateTransfer<'a>
impl<'a> Unpin for UpdateTransfer<'a>
impl<'a> UnwindSafe for UpdateTransfer<'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