pub struct SessionStatusResponse {
pub state: SessionState,
pub result: Option<SessionResult>,
pub signature_protocol: Option<SignatureProtocol>,
pub signature: Option<ResponseSignature>,
pub cert: Option<SessionCertificate>,
pub ignored_properties: Option<Vec<String>>,
pub interaction_type_used: Option<InteractionFlow>,
pub device_ip_address: Option<String>,
}Expand description
Session Status
This struct represents the status of a session with the Smart ID service. It is returned from the Smart ID service session status endpoint.
§Properties
state- The current state of the session, eitherRUNNINGorCOMPLETE.result- The result of the session, if available. result.endResult will beOKif the session was successful.signature_protocol- The protocol used for the signature, if available.signature- The signature response, if available.cert- The session certificate, if available. Contains the level of the certificate and the certificate value DER+Base64 encoded.ignored_properties- Any values from requestProperties that were unsupported or ignored.interaction_type_used- The interaction flow used during the session, if available.device_ip_address- The IP address of the mobile device, if it was requested using “shareMdClientIpAddress” in the session creation parameters.
Fields§
§state: SessionState§result: Option<SessionResult>§signature_protocol: Option<SignatureProtocol>§signature: Option<ResponseSignature>§cert: Option<SessionCertificate>§ignored_properties: Option<Vec<String>>§interaction_type_used: Option<InteractionFlow>§device_ip_address: Option<String>Trait Implementations§
Source§impl Clone for SessionStatusResponse
impl Clone for SessionStatusResponse
Source§fn clone(&self) -> SessionStatusResponse
fn clone(&self) -> SessionStatusResponse
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 SessionStatusResponse
impl Debug for SessionStatusResponse
Source§impl Default for SessionStatusResponse
impl Default for SessionStatusResponse
Source§fn default() -> SessionStatusResponse
fn default() -> SessionStatusResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionStatusResponse
impl<'de> Deserialize<'de> for SessionStatusResponse
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 SessionStatusResponse
impl PartialEq for SessionStatusResponse
Source§impl Serialize for SessionStatusResponse
impl Serialize for SessionStatusResponse
impl StructuralPartialEq for SessionStatusResponse
Auto Trait Implementations§
impl Freeze for SessionStatusResponse
impl RefUnwindSafe for SessionStatusResponse
impl Send for SessionStatusResponse
impl Sync for SessionStatusResponse
impl Unpin for SessionStatusResponse
impl UnsafeUnpin for SessionStatusResponse
impl UnwindSafe for SessionStatusResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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