pub struct ExtendedIrmaRequest {
pub validity: Option<u64>,
pub timeout: Option<u64>,
pub callback_url: Option<String>,
pub request: IrmaRequest,
}Expand description
An IRMA request extended with extra information for the server on how to execute it. (Note: this interface is unstable, and might change significantly in the future)
Fields§
§validity: Option<u64>How long a session result JWT should be valid once requested, in seconds
timeout: Option<u64>How long the session remains available for an IRMA client to connect to
callback_url: Option<String>URL on which to recieve updates as the session status changes
request: IrmaRequestInner request
Trait Implementations§
Source§impl Clone for ExtendedIrmaRequest
impl Clone for ExtendedIrmaRequest
Source§fn clone(&self) -> ExtendedIrmaRequest
fn clone(&self) -> ExtendedIrmaRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtendedIrmaRequest
impl Debug for ExtendedIrmaRequest
Source§impl<'de> Deserialize<'de> for ExtendedIrmaRequest
impl<'de> Deserialize<'de> for ExtendedIrmaRequest
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 ExtendedIrmaRequest
impl RefUnwindSafe for ExtendedIrmaRequest
impl Send for ExtendedIrmaRequest
impl Sync for ExtendedIrmaRequest
impl Unpin for ExtendedIrmaRequest
impl UnsafeUnpin for ExtendedIrmaRequest
impl UnwindSafe for ExtendedIrmaRequest
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