pub struct SessionResult {
pub token: SessionToken,
pub sessiontype: SessionType,
pub status: SessionStatus,
pub proof_status: Option<ProofStatus>,
pub disclosed: Vec<Vec<DisclosedAttribute>>,
pub signature: Option<Value>,
}
Expand description
Results of a session
Fields§
§token: SessionToken
Token of the session
sessiontype: SessionType
Type of the session (disclosure/issuance/signature)
status: SessionStatus
Current state of the session
proof_status: Option<ProofStatus>
Status of the proof provided by the irma client (if it has already provided proofs)
disclosed: Vec<Vec<DisclosedAttribute>>
Attributes disclosed by the irma client to the server
signature: Option<Value>
The full signature, if this was a signing session, as parsed json.
Trait Implementations§
Source§impl Clone for SessionResult
impl Clone for SessionResult
Source§fn clone(&self) -> SessionResult
fn clone(&self) -> SessionResult
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 SessionResult
impl Debug for SessionResult
Source§impl<'de> Deserialize<'de> for SessionResult
impl<'de> Deserialize<'de> for SessionResult
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 SessionResult
impl RefUnwindSafe for SessionResult
impl Send for SessionResult
impl Sync for SessionResult
impl Unpin for SessionResult
impl UnwindSafe for SessionResult
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