pub struct SessionResult {
pub end_result: EndResult,
pub document_number: Option<String>,
}Expand description
Session Result
This struct represents the result of a session with the Smart ID service. It is part of the session status response.
§Properties
end_result- The end result of the session. OK for success, otherwise an error.document_number- The document number associated with the session, if available. Can be used in further signature and authentication requests.
Fields§
§end_result: EndResult§document_number: Option<String>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 Default for SessionResult
impl Default for SessionResult
Source§fn default() -> SessionResult
fn default() -> SessionResult
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for SessionResult
impl PartialEq for SessionResult
Source§impl Serialize for SessionResult
impl Serialize for SessionResult
impl StructuralPartialEq for SessionResult
Auto Trait Implementations§
impl Freeze for SessionResult
impl RefUnwindSafe for SessionResult
impl Send for SessionResult
impl Sync for SessionResult
impl Unpin for SessionResult
impl UnsafeUnpin for SessionResult
impl UnwindSafe for SessionResult
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