pub struct Code2SessionRequest {
pub appid: String,
pub secret: String,
pub js_code: String,
pub grant_type: String,
}
Fields§
§appid: String
§secret: String
§js_code: String
§grant_type: String
Trait Implementations§
Source§impl Clone for Code2SessionRequest
impl Clone for Code2SessionRequest
Source§fn clone(&self) -> Code2SessionRequest
fn clone(&self) -> Code2SessionRequest
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 Code2SessionRequest
impl Debug for Code2SessionRequest
Source§impl<'de> Deserialize<'de> for Code2SessionRequest
impl<'de> Deserialize<'de> for Code2SessionRequest
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 Code2SessionRequest
impl RefUnwindSafe for Code2SessionRequest
impl Send for Code2SessionRequest
impl Sync for Code2SessionRequest
impl Unpin for Code2SessionRequest
impl UnwindSafe for Code2SessionRequest
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