pub struct TerminalLocation {
pub address: Address,
pub configuration_overrides: Option<String>,
pub display_name: String,
pub id: String,
pub livemode: bool,
pub metadata: Value,
pub object: String,
}Expand description
A Location represents a grouping of readers.
Related guide: Fleet management
Fields§
§address: Address§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.
id: StringUnique 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: ValueSet 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.
object: StringString representing the object’s type. Objects of the same type share the same value.
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 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
Source§impl Display for TerminalLocation
impl Display 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