pub struct CloseSessionResult {
pub outcome: TransactionOutcome,
pub result_code: String,
pub pos_total_cents: Option<i64>,
pub host_total_cents: Option<i64>,
pub action_code: Option<String>,
pub error_description: Option<String>,
}Expand description
Close-session result (C).
Fields§
§outcome: TransactionOutcomeNormalized outcome.
result_code: StringRaw result code.
pos_total_cents: Option<i64>POS total in cents.
host_total_cents: Option<i64>Host total in cents.
action_code: Option<String>Action code.
error_description: Option<String>Error description.
Trait Implementations§
Source§impl Clone for CloseSessionResult
impl Clone for CloseSessionResult
Source§fn clone(&self) -> CloseSessionResult
fn clone(&self) -> CloseSessionResult
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 CloseSessionResult
impl Debug for CloseSessionResult
Source§impl Default for CloseSessionResult
impl Default for CloseSessionResult
Source§fn default() -> CloseSessionResult
fn default() -> CloseSessionResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloseSessionResult
impl<'de> Deserialize<'de> for CloseSessionResult
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 CloseSessionResult
Source§impl PartialEq for CloseSessionResult
impl PartialEq for CloseSessionResult
Source§impl Serialize for CloseSessionResult
impl Serialize for CloseSessionResult
impl StructuralPartialEq for CloseSessionResult
Auto Trait Implementations§
impl Freeze for CloseSessionResult
impl RefUnwindSafe for CloseSessionResult
impl Send for CloseSessionResult
impl Sync for CloseSessionResult
impl Unpin for CloseSessionResult
impl UnsafeUnpin for CloseSessionResult
impl UnwindSafe for CloseSessionResult
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