pub struct Code2SessionResponse {
pub openid: Option<String>,
pub session_key: Option<String>,
pub unionid: Option<String>,
pub errcode: Option<i32>,
pub errmsg: Option<String>,
}
Fields§
§openid: Option<String>
§session_key: Option<String>
§unionid: Option<String>
§errcode: Option<i32>
§errmsg: Option<String>
Trait Implementations§
Source§impl Clone for Code2SessionResponse
impl Clone for Code2SessionResponse
Source§fn clone(&self) -> Code2SessionResponse
fn clone(&self) -> Code2SessionResponse
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 Code2SessionResponse
impl Debug for Code2SessionResponse
Source§impl<'de> Deserialize<'de> for Code2SessionResponse
impl<'de> Deserialize<'de> for Code2SessionResponse
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 Code2SessionResponse
impl RefUnwindSafe for Code2SessionResponse
impl Send for Code2SessionResponse
impl Sync for Code2SessionResponse
impl Unpin for Code2SessionResponse
impl UnwindSafe for Code2SessionResponse
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