pub struct AuthorizationCode(/* private fields */);Expand description
授权码(前端通过微信授权获取的临时授权码,有效期5分钟,只能使用一次)
Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationCode
impl Clone for AuthorizationCode
Source§fn clone(&self) -> AuthorizationCode
fn clone(&self) -> AuthorizationCode
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 AuthorizationCode
impl Debug for AuthorizationCode
Source§impl<'de> Deserialize<'de> for AuthorizationCode
impl<'de> Deserialize<'de> for AuthorizationCode
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
Auto Trait Implementations§
impl Freeze for AuthorizationCode
impl RefUnwindSafe for AuthorizationCode
impl Send for AuthorizationCode
impl Sync for AuthorizationCode
impl Unpin for AuthorizationCode
impl UnwindSafe for AuthorizationCode
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