pub struct ReportBeginTransactionResult {
pub request_id: String,
pub handle: JsUInt,
}Expand description
Reports the result of a |SCardBeginTransaction| call. On success, this creates a new transaction object.
This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
Fields§
§request_id: String§handle: JsUIntTrait Implementations§
Source§impl Clone for ReportBeginTransactionResult
impl Clone for ReportBeginTransactionResult
Source§fn clone(&self) -> ReportBeginTransactionResult
fn clone(&self) -> ReportBeginTransactionResult
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 Debug for ReportBeginTransactionResult
impl Debug for ReportBeginTransactionResult
Source§impl<'de> Deserialize<'de> for ReportBeginTransactionResult
impl<'de> Deserialize<'de> for ReportBeginTransactionResult
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
Source§impl Method for ReportBeginTransactionResult
impl Method for ReportBeginTransactionResult
const NAME: &'static str = "SmartCardEmulation.reportBeginTransactionResult"
type ReturnObject = ReportBeginTransactionResultReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for ReportBeginTransactionResult
impl PartialEq for ReportBeginTransactionResult
Source§fn eq(&self, other: &ReportBeginTransactionResult) -> bool
fn eq(&self, other: &ReportBeginTransactionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReportBeginTransactionResult
Auto Trait Implementations§
impl Freeze for ReportBeginTransactionResult
impl RefUnwindSafe for ReportBeginTransactionResult
impl Send for ReportBeginTransactionResult
impl Sync for ReportBeginTransactionResult
impl Unpin for ReportBeginTransactionResult
impl UnsafeUnpin for ReportBeginTransactionResult
impl UnwindSafe for ReportBeginTransactionResult
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