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
sourceimpl<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
sourceimpl<'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>,
sourcefn 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
sourceimpl<SCOPE> Serialize for Query<SCOPE>where
SCOPE: Scope + Serialize,
impl<SCOPE> Serialize for Query<SCOPE>where
SCOPE: Scope + Serialize,
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more