pub struct SetSpcTransactionMode {
pub method: SetSpcTransactionModeMethod,
pub params: SetSpcTransactionModeParams,
}Expand description
Sets the Secure Payment Confirmation transaction mode. https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode setSPCTransactionMode
Fields§
§method: SetSpcTransactionModeMethod§params: SetSpcTransactionModeParamsImplementations§
Source§impl SetSpcTransactionMode
impl SetSpcTransactionMode
pub fn builder() -> SetSpcTransactionModeBuilder
Source§impl SetSpcTransactionMode
impl SetSpcTransactionMode
pub const IDENTIFIER: &'static str = "Page.setSPCTransactionMode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetSpcTransactionMode
impl Clone for SetSpcTransactionMode
Source§fn clone(&self) -> SetSpcTransactionMode
fn clone(&self) -> SetSpcTransactionMode
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 CommandResult for SetSpcTransactionMode
impl CommandResult for SetSpcTransactionMode
type Result = SetSpcTransactionModeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetSpcTransactionMode
impl Debug for SetSpcTransactionMode
Source§impl<'de> Deserialize<'de> for SetSpcTransactionMode
impl<'de> Deserialize<'de> for SetSpcTransactionMode
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 From<SetSpcTransactionMode> for BrowserProtocolCommands
impl From<SetSpcTransactionMode> for BrowserProtocolCommands
Source§fn from(v: SetSpcTransactionMode) -> Self
fn from(v: SetSpcTransactionMode) -> Self
Converts to this type from the input type.
Source§impl From<SetSpcTransactionMode> for Command
impl From<SetSpcTransactionMode> for Command
Source§fn from(v: SetSpcTransactionMode) -> Self
fn from(v: SetSpcTransactionMode) -> Self
Converts to this type from the input type.
Source§impl From<SetSpcTransactionMode> for PageCommands
impl From<SetSpcTransactionMode> for PageCommands
Source§fn from(v: SetSpcTransactionMode) -> Self
fn from(v: SetSpcTransactionMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetSpcTransactionMode
impl PartialEq for SetSpcTransactionMode
Source§impl Serialize for SetSpcTransactionMode
impl Serialize for SetSpcTransactionMode
Source§impl TryFrom<BrowserProtocolCommands> for SetSpcTransactionMode
impl TryFrom<BrowserProtocolCommands> for SetSpcTransactionMode
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetSpcTransactionMode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetSpcTransactionMode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetSpcTransactionMode
impl TryFrom<Command> for SetSpcTransactionMode
Source§impl TryFrom<PageCommands> for SetSpcTransactionMode
impl TryFrom<PageCommands> for SetSpcTransactionMode
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <SetSpcTransactionMode as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <SetSpcTransactionMode as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetSpcTransactionMode
Auto Trait Implementations§
impl Freeze for SetSpcTransactionMode
impl RefUnwindSafe for SetSpcTransactionMode
impl Send for SetSpcTransactionMode
impl Sync for SetSpcTransactionMode
impl Unpin for SetSpcTransactionMode
impl UnsafeUnpin for SetSpcTransactionMode
impl UnwindSafe for SetSpcTransactionMode
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