pub struct AuthorizationRequestQuery<SCOPE>where
SCOPE: Scope,{
pub response_type: String,
pub client_id: String,
pub redirect_uri: Option<String>,
pub scope: Option<ScopeParameter<SCOPE>>,
pub state: Option<String>,
pub code_challenge: Option<String>,
pub code_challenge_method: Option<CodeChallengeMethod>,
pub nonce: Option<String>,
/* private fields */
}
Fields§
§response_type: String
§client_id: String
§redirect_uri: Option<String>
§scope: Option<ScopeParameter<SCOPE>>
§state: Option<String>
§code_challenge: Option<String>
§code_challenge_method: Option<CodeChallengeMethod>
§nonce: Option<String>
Implementations§
Source§impl<SCOPE> Query<SCOPE>where
SCOPE: Scope,
impl<SCOPE> Query<SCOPE>where
SCOPE: Scope,
pub fn new( client_id: String, redirect_uri: Option<String>, scope: Option<ScopeParameter<SCOPE>>, state: Option<String>, ) -> Query<SCOPE>
pub fn set_extra(&mut self, extra: Map<String, Value>)
pub fn extra(&self) -> Option<&Map<String, Value>>
pub fn try_from_t_with_string( query: &Query<String>, ) -> Result<Query<SCOPE>, ScopeFromStrError>
Trait Implementations§
Source§impl<'de, SCOPE> Deserialize<'de> for Query<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
impl<'de, SCOPE> Deserialize<'de> for Query<SCOPE>where
SCOPE: Scope + Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Query<SCOPE>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Query<SCOPE>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<SCOPE> Freeze for Query<SCOPE>
impl<SCOPE> RefUnwindSafe for Query<SCOPE>where
SCOPE: RefUnwindSafe,
impl<SCOPE> Send for Query<SCOPE>where
SCOPE: Send,
impl<SCOPE> Sync for Query<SCOPE>where
SCOPE: Sync,
impl<SCOPE> Unpin for Query<SCOPE>where
SCOPE: Unpin,
impl<SCOPE> UnwindSafe for Query<SCOPE>where
SCOPE: UnwindSafe,
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