pub struct RequestPresentation {
pub transaction_id: String,
pub presentation_definition: String,
pub description: Option<String>,
pub challenge: String,
pub for_originator: Option<bool>,
pub for_beneficiary: Option<bool>,
pub note: Option<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Request Presentation message body (TAIP-10).
Fields§
§transaction_id: StringTransfer ID that this request is related to.
presentation_definition: StringPresentation definition identifier or URI.
description: Option<String>Description of the request.
challenge: StringChallenge to be included in the response.
for_originator: Option<bool>Whether the request is for the originator’s information.
for_beneficiary: Option<bool>Whether the request is for the beneficiary’s information.
note: Option<String>Note for the request.
metadata: HashMap<String, Value>Additional metadata.
Trait Implementations§
Source§impl Clone for RequestPresentation
impl Clone for RequestPresentation
Source§fn clone(&self) -> RequestPresentation
fn clone(&self) -> RequestPresentation
Returns a copy 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 RequestPresentation
impl Debug for RequestPresentation
Source§impl<'de> Deserialize<'de> for RequestPresentation
impl<'de> Deserialize<'de> for RequestPresentation
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
Auto Trait Implementations§
impl Freeze for RequestPresentation
impl RefUnwindSafe for RequestPresentation
impl Send for RequestPresentation
impl Sync for RequestPresentation
impl Unpin for RequestPresentation
impl UnwindSafe for RequestPresentation
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