pub struct TerminalLocation {
pub address: Address,
pub address_kana: Option<LegalEntityJapanAddress>,
pub address_kanji: Option<LegalEntityJapanAddress>,
pub configuration_overrides: Option<String>,
pub display_name: String,
pub display_name_kana: Option<String>,
pub display_name_kanji: Option<String>,
pub id: TerminalLocationId,
pub livemode: bool,
pub metadata: HashMap<String, String>,
pub phone: Option<String>,
}Expand description
A Location represents a grouping of readers.
Related guide: Fleet management
For more details see <https://stripe.com/docs/api/terminal/locations/object>.
Fields§
§address: Address§address_kana: Option<LegalEntityJapanAddress>§address_kanji: Option<LegalEntityJapanAddress>§configuration_overrides: Option<String>The ID of a configuration that will be used to customize all readers in this location.
display_name: StringThe display name of the location.
display_name_kana: Option<String>The Kana variation of the display name of the location.
display_name_kanji: Option<String>The Kanji variation of the display name of the location.
id: TerminalLocationIdUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
metadata: HashMap<String, String>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.
phone: Option<String>The phone number of the location.
Trait Implementations§
Source§impl Clone for TerminalLocation
impl Clone for TerminalLocation
Source§fn clone(&self) -> TerminalLocation
fn clone(&self) -> TerminalLocation
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 TerminalLocation
impl Debug for TerminalLocation
Source§impl Deserialize for TerminalLocation
impl Deserialize for TerminalLocation
Source§impl FromValueOpt for TerminalLocation
impl FromValueOpt for TerminalLocation
fn from_value(v: Value) -> Option<Self>
Source§impl Object for TerminalLocation
impl Object for TerminalLocation
Source§impl ObjectDeser for TerminalLocation
impl ObjectDeser for TerminalLocation
Auto Trait Implementations§
impl Freeze for TerminalLocation
impl RefUnwindSafe for TerminalLocation
impl Send for TerminalLocation
impl Sync for TerminalLocation
impl Unpin for TerminalLocation
impl UnwindSafe for TerminalLocation
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