pub struct ParResponse {
pub request_uri: String,
pub expires_in: u64,
pub extra: HashMap<String, Value>,
}
Expand description
Response from a Pushed Authorization Request (PAR) endpoint.
Contains the request URI and expiration time returned by the authorization server after successfully processing a pushed authorization request.
Fields§
§request_uri: String
The request URI to use in the authorization request.
expires_in: u64
The lifetime of the request URI in seconds.
extra: HashMap<String, Value>
Additional fields returned by the authorization server.
Trait Implementations§
Source§impl Clone for ParResponse
impl Clone for ParResponse
Source§fn clone(&self) -> ParResponse
fn clone(&self) -> ParResponse
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<'de> Deserialize<'de> for ParResponse
impl<'de> Deserialize<'de> for ParResponse
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 ParResponse
impl RefUnwindSafe for ParResponse
impl Send for ParResponse
impl Sync for ParResponse
impl Unpin for ParResponse
impl UnwindSafe for ParResponse
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