pub struct TerminalReaderReaderResourceReaderAction {
pub failure_code: Option<String>,
pub failure_message: Option<String>,
pub process_payment_intent: Option<TerminalReaderReaderResourceProcessPaymentIntentAction>,
pub process_setup_intent: Option<TerminalReaderReaderResourceProcessSetupIntentAction>,
pub refund_payment: Option<TerminalReaderReaderResourceRefundPaymentAction>,
pub set_reader_display: Option<TerminalReaderReaderResourceSetReaderDisplayAction>,
pub status: TerminalReaderReaderResourceReaderActionStatus,
pub type_: TerminalReaderReaderResourceReaderActionType,
}
Expand description
Represents an action performed by the reader
Fields§
§failure_code: Option<String>
Failure code, only set if status is failed
.
failure_message: Option<String>
Detailed failure message, only set if status is failed
.
process_payment_intent: Option<TerminalReaderReaderResourceProcessPaymentIntentAction>
§process_setup_intent: Option<TerminalReaderReaderResourceProcessSetupIntentAction>
§refund_payment: Option<TerminalReaderReaderResourceRefundPaymentAction>
§set_reader_display: Option<TerminalReaderReaderResourceSetReaderDisplayAction>
§status: TerminalReaderReaderResourceReaderActionStatus
Status of the action performed by the reader.
type_: TerminalReaderReaderResourceReaderActionType
Type of action performed by the reader.
Trait Implementations§
Source§impl Clone for TerminalReaderReaderResourceReaderAction
impl Clone for TerminalReaderReaderResourceReaderAction
Source§fn clone(&self) -> TerminalReaderReaderResourceReaderAction
fn clone(&self) -> TerminalReaderReaderResourceReaderAction
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 FromValueOpt for TerminalReaderReaderResourceReaderAction
impl FromValueOpt for TerminalReaderReaderResourceReaderAction
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TerminalReaderReaderResourceReaderAction
impl RefUnwindSafe for TerminalReaderReaderResourceReaderAction
impl Send for TerminalReaderReaderResourceReaderAction
impl Sync for TerminalReaderReaderResourceReaderAction
impl Unpin for TerminalReaderReaderResourceReaderAction
impl UnwindSafe for TerminalReaderReaderResourceReaderAction
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