Struct stripe::generated::terminal::terminal_connection_token::CreateTerminalConnectionToken
source · pub struct CreateTerminalConnectionToken<'a> {
pub expand: &'a [&'a str],
pub location: Option<&'a str>,
}
Expand description
The parameters for TerminalConnectionToken::create
.
Fields§
§expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
location: Option<&'a str>
The id of the location that this connection token is scoped to.
If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. Note that location scoping only applies to internet-connected readers. For more details, see the docs on scoping connection tokens.
Implementations§
source§impl<'a> CreateTerminalConnectionToken<'a>
impl<'a> CreateTerminalConnectionToken<'a>
Trait Implementations§
source§impl<'a> Clone for CreateTerminalConnectionToken<'a>
impl<'a> Clone for CreateTerminalConnectionToken<'a>
source§fn clone(&self) -> CreateTerminalConnectionToken<'a>
fn clone(&self) -> CreateTerminalConnectionToken<'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 CreateTerminalConnectionToken<'a>
impl<'a> Debug for CreateTerminalConnectionToken<'a>
source§impl<'a> Default for CreateTerminalConnectionToken<'a>
impl<'a> Default for CreateTerminalConnectionToken<'a>
source§fn default() -> CreateTerminalConnectionToken<'a>
fn default() -> CreateTerminalConnectionToken<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CreateTerminalConnectionToken<'a>
impl<'a> Send for CreateTerminalConnectionToken<'a>
impl<'a> Sync for CreateTerminalConnectionToken<'a>
impl<'a> Unpin for CreateTerminalConnectionToken<'a>
impl<'a> UnwindSafe for CreateTerminalConnectionToken<'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