pub struct SetVirtualWalletBehaviorParams {
pub action: VirtualWalletAction,
pub protocol: Option<String>,
pub response: Option<Value>,
pub frame_id: Option<FrameId>,
}Expand description
Sets the behavior of the virtual wallet for digital credential requests issued from this frame.
Parameters of DigitalCredentials.setVirtualWalletBehavior.
Fields§
§action: VirtualWalletActionThe action of the virtual wallet.
protocol: Option<String>The protocol identifier (e.g. “openid4vp”). Required when |action| is “respond”, forbidden otherwise.
response: Option<Value>The response data object returned by the wallet. Required when |action| is “respond”, forbidden otherwise.
frame_id: Option<FrameId>The frame to scope the virtual wallet behavior to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetVirtualWalletBehaviorParams
impl<'de> Deserialize<'de> for SetVirtualWalletBehaviorParams
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 StructuralPartialEq for SetVirtualWalletBehaviorParams
Auto Trait Implementations§
impl Forget for SetVirtualWalletBehaviorParams
impl Freeze for SetVirtualWalletBehaviorParams
impl RefUnwindSafe for SetVirtualWalletBehaviorParams
impl Send for SetVirtualWalletBehaviorParams
impl Sync for SetVirtualWalletBehaviorParams
impl Unpin for SetVirtualWalletBehaviorParams
impl UnsafeUnpin for SetVirtualWalletBehaviorParams
impl UnwindSafe for SetVirtualWalletBehaviorParams
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