pub struct AuthorizationUrl {
pub url: String,
pub state: String,
pub code_verifier: Option<String>,
}Expand description
OAuth2 授权 URL 构建结果
Fields§
§url: String授权 URL
state: String状态参数
code_verifier: Option<String>PKCE code verifier
Trait Implementations§
Source§impl Clone for AuthorizationUrl
impl Clone for AuthorizationUrl
Source§fn clone(&self) -> AuthorizationUrl
fn clone(&self) -> AuthorizationUrl
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 moreAuto Trait Implementations§
impl Freeze for AuthorizationUrl
impl RefUnwindSafe for AuthorizationUrl
impl Send for AuthorizationUrl
impl Sync for AuthorizationUrl
impl Unpin for AuthorizationUrl
impl UnsafeUnpin for AuthorizationUrl
impl UnwindSafe for AuthorizationUrl
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