pub struct ProofRequestResponse {
pub state: String,
pub presentation_request: Value,
pub updated_at: String,
pub connection_id: String,
pub thread_id: String,
pub presentation_request_dict: Value,
pub role: String,
pub auto_present: bool,
pub presentation_exchange_id: String,
pub created_at: String,
pub initiator: String,
}
Expand description
Response from the cloudagent when a proof request is created
Fields§
§state: String
The state of the proof request
presentation_request: Value
The presentation request as an object
updated_at: String
The last time the proof request was updated
connection_id: String
The connection id to which the proof request is send to
thread_id: String
The thread id that can be used to reference this proof request
presentation_request_dict: Value
A dictionary of the presentation request
role: String
Your role in the proof request flow
auto_present: bool
Whether it should automatically respond in the proof request flow
presentation_exchange_id: String
The presentation exhange id that can be used in the other presentation exchange steps
created_at: String
When the proof request was created
initiator: String
Who the initiator was of the proof request
Trait Implementations§
Source§impl Clone for ProofRequestResponse
impl Clone for ProofRequestResponse
Source§fn clone(&self) -> ProofRequestResponse
fn clone(&self) -> ProofRequestResponse
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 ProofRequestResponse
impl Debug for ProofRequestResponse
Source§impl Default for ProofRequestResponse
impl Default for ProofRequestResponse
Source§fn default() -> ProofRequestResponse
fn default() -> ProofRequestResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProofRequestResponse
impl<'de> Deserialize<'de> for ProofRequestResponse
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 PartialEq for ProofRequestResponse
impl PartialEq for ProofRequestResponse
Source§impl Serialize for ProofRequestResponse
impl Serialize for ProofRequestResponse
impl Eq for ProofRequestResponse
impl StructuralPartialEq for ProofRequestResponse
Auto Trait Implementations§
impl Freeze for ProofRequestResponse
impl RefUnwindSafe for ProofRequestResponse
impl Send for ProofRequestResponse
impl Sync for ProofRequestResponse
impl Unpin for ProofRequestResponse
impl UnwindSafe for ProofRequestResponse
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