Struct stripe::TerminalReader
source · [−]pub struct TerminalReader {
pub id: TerminalReaderId,
pub action: Option<TerminalReaderReaderResourceReaderAction>,
pub deleted: bool,
pub device_sw_version: Option<String>,
pub device_type: Option<TerminalReaderDeviceType>,
pub ip_address: Option<String>,
pub label: Option<String>,
pub livemode: Option<bool>,
pub location: Option<Expandable<TerminalLocation>>,
pub metadata: Metadata,
pub serial_number: Option<String>,
pub status: Option<String>,
}
Expand description
The resource representing a Stripe “TerminalReaderReader”.
Fields
id: TerminalReaderId
Unique identifier for the object.
action: Option<TerminalReaderReaderResourceReaderAction>
The most recent action performed by the reader.
deleted: bool
device_sw_version: Option<String>
The current software version of the reader.
device_type: Option<TerminalReaderDeviceType>
Type of reader, one of bbpos_wisepad3
, stripe_m2
, bbpos_chipper2x
, bbpos_wisepos_e
, verifone_P400
, or simulated_wisepos_e
.
ip_address: Option<String>
The local IP address of the reader.
label: Option<String>
Custom label given to the reader for easier identification.
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.
location: Option<Expandable<TerminalLocation>>
The location identifier of the reader.
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.
serial_number: Option<String>
Serial number of the reader.
status: Option<String>
The networking status of the reader.
Trait Implementations
sourceimpl Clone for TerminalReader
impl Clone for TerminalReader
sourcefn clone(&self) -> TerminalReader
fn clone(&self) -> TerminalReader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TerminalReader
impl Debug for TerminalReader
sourceimpl Default for TerminalReader
impl Default for TerminalReader
sourcefn default() -> TerminalReader
fn default() -> TerminalReader
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TerminalReader
impl<'de> Deserialize<'de> for TerminalReader
sourcefn 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
sourceimpl Object for TerminalReader
impl Object for TerminalReader
sourceimpl Serialize for TerminalReader
impl Serialize for TerminalReader
Auto Trait Implementations
impl RefUnwindSafe for TerminalReader
impl Send for TerminalReader
impl Sync for TerminalReader
impl Unpin for TerminalReader
impl UnwindSafe for TerminalReader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more