Struct stripe::CreateTerminalLocation
source · pub struct CreateTerminalLocation<'a> {
pub address: CreateTerminalLocationAddress,
pub configuration_overrides: Option<&'a str>,
pub display_name: &'a str,
pub expand: &'a [&'a str],
pub metadata: Option<Metadata>,
}
Expand description
The parameters for TerminalLocation::create
.
Fields§
§address: CreateTerminalLocationAddress
The full address of the location.
configuration_overrides: Option<&'a str>
The ID of a configuration that will be used to customize all readers in this location.
display_name: &'a str
A name for the location.
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> CreateTerminalLocation<'a>
impl<'a> CreateTerminalLocation<'a>
pub fn new( address: CreateTerminalLocationAddress, display_name: &'a str ) -> Self
Trait Implementations§
source§impl<'a> Clone for CreateTerminalLocation<'a>
impl<'a> Clone for CreateTerminalLocation<'a>
source§fn clone(&self) -> CreateTerminalLocation<'a>
fn clone(&self) -> CreateTerminalLocation<'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 CreateTerminalLocation<'a>
impl<'a> Debug for CreateTerminalLocation<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateTerminalLocation<'a>
impl<'a> RefUnwindSafe for CreateTerminalLocation<'a>
impl<'a> Send for CreateTerminalLocation<'a>
impl<'a> Sync for CreateTerminalLocation<'a>
impl<'a> Unpin for CreateTerminalLocation<'a>
impl<'a> UnwindSafe for CreateTerminalLocation<'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