Struct stripe::generated::terminal::terminal_reader::ListTerminalReaders
source · pub struct ListTerminalReaders<'a> {
pub device_type: Option<TerminalReaderDeviceType>,
pub ending_before: Option<TerminalReaderId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub location: Option<&'a str>,
pub serial_number: Option<&'a str>,
pub starting_after: Option<TerminalReaderId>,
pub status: Option<TerminalReaderStatus>,
}
Expand description
The parameters for TerminalReader::list
.
Fields§
§device_type: Option<TerminalReaderDeviceType>
Filters readers by device type.
ending_before: Option<TerminalReaderId>
A cursor for use in pagination.
ending_before
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
limit: Option<u64>
A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 10.
location: Option<&'a str>
A location ID to filter the response list to only readers at the specific location.
serial_number: Option<&'a str>
Filters readers by serial number.
starting_after: Option<TerminalReaderId>
A cursor for use in pagination.
starting_after
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
status: Option<TerminalReaderStatus>
A status filter to filter readers to only offline or online readers.
Implementations§
source§impl<'a> ListTerminalReaders<'a>
impl<'a> ListTerminalReaders<'a>
Trait Implementations§
source§impl<'a> Clone for ListTerminalReaders<'a>
impl<'a> Clone for ListTerminalReaders<'a>
source§fn clone(&self) -> ListTerminalReaders<'a>
fn clone(&self) -> ListTerminalReaders<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for ListTerminalReaders<'a>
impl<'a> Debug for ListTerminalReaders<'a>
source§impl<'a> Default for ListTerminalReaders<'a>
impl<'a> Default for ListTerminalReaders<'a>
source§fn default() -> ListTerminalReaders<'a>
fn default() -> ListTerminalReaders<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListTerminalReaders<'a>
impl<'a> RefUnwindSafe for ListTerminalReaders<'a>
impl<'a> Send for ListTerminalReaders<'a>
impl<'a> Sync for ListTerminalReaders<'a>
impl<'a> Unpin for ListTerminalReaders<'a>
impl<'a> UnwindSafe for ListTerminalReaders<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)