pub struct Applet {
pub appid: String,
pub secret: String,
pub access_token: String,
pub expires_in: i64,
}Fields§
§appid: String§secret: String§access_token: String§expires_in: i64Trait Implementations§
Source§impl WechatMethod for Applet
impl WechatMethod for Applet
Source§fn get_phone_number(
&mut self,
iv: &str,
encrypted_data: &str,
session_key: &str,
) -> Result<JsonValue, String>
fn get_phone_number( &mut self, iv: &str, encrypted_data: &str, session_key: &str, ) -> Result<JsonValue, String>
获取手机号
Auto Trait Implementations§
impl Freeze for Applet
impl RefUnwindSafe for Applet
impl Send for Applet
impl Sync for Applet
impl Unpin for Applet
impl UnwindSafe for Applet
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