pub struct TerminalConnectionToken {
pub location: Option<String>,
pub secret: String,
}
Expand description
A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
Related guide: Fleet management
For more details see <https://stripe.com/docs/api/terminal/connection_tokens/object>.
Fields§
§location: Option<String>
The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see the docs on scoping connection tokens.
secret: String
Your application should pass this token to the Stripe Terminal SDK.
Trait Implementations§
Source§impl Clone for TerminalConnectionToken
impl Clone for TerminalConnectionToken
Source§fn clone(&self) -> TerminalConnectionToken
fn clone(&self) -> TerminalConnectionToken
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 TerminalConnectionToken
impl Debug for TerminalConnectionToken
Source§impl FromValueOpt for TerminalConnectionToken
impl FromValueOpt for TerminalConnectionToken
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TerminalConnectionToken
impl RefUnwindSafe for TerminalConnectionToken
impl Send for TerminalConnectionToken
impl Sync for TerminalConnectionToken
impl Unpin for TerminalConnectionToken
impl UnwindSafe for TerminalConnectionToken
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