Struct stripe::TerminalLocation
source · pub struct TerminalLocation {
pub id: TerminalLocationId,
pub address: Option<Address>,
pub configuration_overrides: Option<String>,
pub deleted: bool,
pub display_name: Option<String>,
pub livemode: Option<bool>,
pub metadata: Metadata,
}
Expand description
The resource representing a Stripe “TerminalLocationLocation”.
For more details see https://stripe.com/docs/api/terminal/locations/object
Fields§
§id: TerminalLocationId
Unique identifier for the object.
address: Option<Address>
§configuration_overrides: Option<String>
The ID of a configuration that will be used to customize all readers in this location.
deleted: bool
§display_name: Option<String>
The display name of the location.
livemode: Option<bool>
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: 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.
Trait Implementations§
source§impl Clone for TerminalLocation
impl Clone for TerminalLocation
source§fn clone(&self) -> TerminalLocation
fn clone(&self) -> TerminalLocation
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 Debug for TerminalLocation
impl Debug for TerminalLocation
source§impl Default for TerminalLocation
impl Default for TerminalLocation
source§fn default() -> TerminalLocation
fn default() -> TerminalLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TerminalLocation
impl<'de> Deserialize<'de> for TerminalLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more