Struct irma::SessionResult [−][src]
pub struct SessionResult {
pub token: SessionToken,
pub sessiontype: SessionType,
pub status: SessionStatus,
pub proof_status: Option<ProofStatus>,
pub disclosed: Vec<Vec<DisclosedAttribute>>,
}
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
Trait Implementations
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 RefUnwindSafe for SessionResult
impl Send for SessionResult
impl Sync for SessionResult
impl Unpin for SessionResult
impl UnwindSafe for SessionResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more