Struct ory_hydra_client::models::previous_consent_session::PreviousConsentSession [−][src]
pub struct PreviousConsentSession { pub consent_request: Option<Box<ConsentRequest>>, 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<ConsentRequestSession>>, }
PreviousConsentSession : The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
Fields
consent_request: Option<Box<ConsentRequest>>
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<ConsentRequestSession>>
Implementations
impl PreviousConsentSession
[src]
impl PreviousConsentSession
[src]pub fn new() -> PreviousConsentSession
[src]
pub fn new() -> PreviousConsentSession
[src]The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
Trait Implementations
impl Clone for PreviousConsentSession
[src]
impl Clone for PreviousConsentSession
[src]fn clone(&self) -> PreviousConsentSession
[src]
fn clone(&self) -> PreviousConsentSession
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PreviousConsentSession
[src]
impl Debug for PreviousConsentSession
[src]impl<'de> Deserialize<'de> for PreviousConsentSession
[src]
impl<'de> Deserialize<'de> for PreviousConsentSession
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PreviousConsentSession> for PreviousConsentSession
[src]
impl PartialEq<PreviousConsentSession> for PreviousConsentSession
[src]fn eq(&self, other: &PreviousConsentSession) -> bool
[src]
fn eq(&self, other: &PreviousConsentSession) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PreviousConsentSession) -> bool
[src]
fn ne(&self, other: &PreviousConsentSession) -> bool
[src]This method tests for !=
.
impl Serialize for PreviousConsentSession
[src]
impl Serialize for PreviousConsentSession
[src]impl StructuralPartialEq for PreviousConsentSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for PreviousConsentSession
impl Send for PreviousConsentSession
impl Sync for PreviousConsentSession
impl Unpin for PreviousConsentSession
impl UnwindSafe for PreviousConsentSession
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,