pub struct AcceptConsentRequest {
pub grant_access_token_audience: Option<Vec<String>>,
pub grant_scope: Option<Vec<String>>,
pub remember: Option<bool>,
pub remember_for: Option<i64>,
pub session: Option<ConsentRequestSession>,
}Fields§
§grant_access_token_audience: Option<Vec<String>>GrantedAudience sets the audience the user authorized the client to use. Should be a subset of requested_access_token_audience.
grant_scope: Option<Vec<String>>GrantScope sets the scope the user authorized the client to use. Should be a subset of requested_scope.
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<ConsentRequestSession>Implementations§
Source§impl AcceptConsentRequest
impl AcceptConsentRequest
pub fn new() -> AcceptConsentRequest
Trait Implementations§
Source§impl Clone for AcceptConsentRequest
impl Clone for AcceptConsentRequest
Source§fn clone(&self) -> AcceptConsentRequest
fn clone(&self) -> AcceptConsentRequest
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 AcceptConsentRequest
impl Debug for AcceptConsentRequest
Source§impl<'de> Deserialize<'de> for AcceptConsentRequest
impl<'de> Deserialize<'de> for AcceptConsentRequest
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 AcceptConsentRequest
impl PartialEq for AcceptConsentRequest
Source§impl Serialize for AcceptConsentRequest
impl Serialize for AcceptConsentRequest
impl StructuralPartialEq for AcceptConsentRequest
Auto Trait Implementations§
impl Freeze for AcceptConsentRequest
impl RefUnwindSafe for AcceptConsentRequest
impl Send for AcceptConsentRequest
impl Sync for AcceptConsentRequest
impl Unpin for AcceptConsentRequest
impl UnwindSafe for AcceptConsentRequest
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