pub struct PosStatusResponse {
pub terminal_id: String,
pub terminal_date_time: String,
pub status: PosTerminalStatus,
pub software_release: String,
}Expand description
Terminal status response (s).
Fields§
§terminal_id: StringTerminal identifier echoed back.
terminal_date_time: StringTerminal date/time as an ISO 8601 string (e.g. "2026-07-10T14:30:00"),
parsed by the response layer from the terminal’s raw DDMMYYhhmm. A string
(not a native datetime) keeps the library dependency-free; the frontend maps it
with new Date(...), preserving the RN API’s date contract.
status: PosTerminalStatusStatus code (meanings defined for 0..=6; other values map to “Unknown”); see
pos_terminal_status_message.
software_release: StringFirmware/software release string.
Trait Implementations§
Source§impl Clone for PosStatusResponse
impl Clone for PosStatusResponse
Source§fn clone(&self) -> PosStatusResponse
fn clone(&self) -> PosStatusResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PosStatusResponse
impl Debug for PosStatusResponse
Source§impl<'de> Deserialize<'de> for PosStatusResponse
impl<'de> Deserialize<'de> for PosStatusResponse
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
impl Eq for PosStatusResponse
Source§impl PartialEq for PosStatusResponse
impl PartialEq for PosStatusResponse
Source§impl Serialize for PosStatusResponse
impl Serialize for PosStatusResponse
impl StructuralPartialEq for PosStatusResponse
Auto Trait Implementations§
impl Freeze for PosStatusResponse
impl RefUnwindSafe for PosStatusResponse
impl Send for PosStatusResponse
impl Sync for PosStatusResponse
impl Unpin for PosStatusResponse
impl UnsafeUnpin for PosStatusResponse
impl UnwindSafe for PosStatusResponse
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