pub struct AcceptOAuth2ConsentRequest {
pub context: Option<Value>,
pub grant_access_token_audience: Option<Vec<String>>,
pub grant_scope: Option<Vec<String>>,
pub handled_at: Option<String>,
pub remember: Option<bool>,
pub remember_for: Option<i64>,
pub session: Option<Box<AcceptOAuth2ConsentRequestSession>>,
}
Fields§
§context: Option<Value>
§grant_access_token_audience: Option<Vec<String>>
§grant_scope: Option<Vec<String>>
§handled_at: Option<String>
§remember: Option<bool>
Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope.
remember_for: Option<i64>
RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0
, the authorization will be remembered indefinitely.
session: Option<Box<AcceptOAuth2ConsentRequestSession>>
Implementations§
source§impl AcceptOAuth2ConsentRequest
impl AcceptOAuth2ConsentRequest
pub fn new() -> AcceptOAuth2ConsentRequest
Trait Implementations§
source§impl Clone for AcceptOAuth2ConsentRequest
impl Clone for AcceptOAuth2ConsentRequest
source§fn clone(&self) -> AcceptOAuth2ConsentRequest
fn clone(&self) -> AcceptOAuth2ConsentRequest
Returns a copy 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 AcceptOAuth2ConsentRequest
impl Debug for AcceptOAuth2ConsentRequest
source§impl Default for AcceptOAuth2ConsentRequest
impl Default for AcceptOAuth2ConsentRequest
source§impl<'de> Deserialize<'de> for AcceptOAuth2ConsentRequest
impl<'de> Deserialize<'de> for AcceptOAuth2ConsentRequest
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 AcceptOAuth2ConsentRequest
impl PartialEq for AcceptOAuth2ConsentRequest
source§fn eq(&self, other: &AcceptOAuth2ConsentRequest) -> bool
fn eq(&self, other: &AcceptOAuth2ConsentRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AcceptOAuth2ConsentRequest
Auto Trait Implementations§
impl RefUnwindSafe for AcceptOAuth2ConsentRequest
impl Send for AcceptOAuth2ConsentRequest
impl Sync for AcceptOAuth2ConsentRequest
impl Unpin for AcceptOAuth2ConsentRequest
impl UnwindSafe for AcceptOAuth2ConsentRequest
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