pub struct WxOpenMaAuthServiceImpl { /* private fields */ }Expand description
小程序认证服务实现(对应 Java WxOpenMaAuthServiceImpl)。
Implementations§
Trait Implementations§
Source§impl WxOpenMaAuthService for WxOpenMaAuthServiceImpl
impl WxOpenMaAuthService for WxOpenMaAuthServiceImpl
Source§fn submit<'life0, 'life1, 'async_trait>(
&'life0 self,
param: &'life1 MaAuthSubmitParam,
) -> Pin<Box<dyn Future<Output = Result<MaAuthSubmitResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn submit<'life0, 'life1, 'async_trait>(
&'life0 self,
param: &'life1 MaAuthSubmitParam,
) -> Pin<Box<dyn Future<Output = Result<MaAuthSubmitResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
小程序认证(提审)(对应 Java submit(MaAuthSubmitParam param):
POST 参数序列化 → MaAuthSubmitResult)。
Source§fn query<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<MaAuthQueryResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn query<'life0, 'life1, 'async_trait>(
&'life0 self,
task_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<MaAuthQueryResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
进度查询(对应 Java query(String taskId):POST
{"taskid": ...} → MaAuthQueryResult)。
Source§fn upload<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 CommonUploadData,
) -> Pin<Box<dyn Future<Output = Result<MaAuthUploadResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn upload<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 CommonUploadData,
) -> Pin<Box<dyn Future<Output = Result<MaAuthUploadResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
上传补充材料(对应 Java upload(CommonUploadData data):
multipart 字段 media 上传 → MaAuthUploadResult)。
Source§fn resubmit<'life0, 'life1, 'async_trait>(
&'life0 self,
param: &'life1 MaAuthResubmitParam,
) -> Pin<Box<dyn Future<Output = Result<MaAuthSubmitResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resubmit<'life0, 'life1, 'async_trait>(
&'life0 self,
param: &'life1 MaAuthResubmitParam,
) -> Pin<Box<dyn Future<Output = Result<MaAuthSubmitResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
重新提审(对应 Java resubmit(MaAuthResubmitParam param):POST
参数序列化 → MaAuthSubmitResult)。
Source§fn query_identity_tree<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MaAuthQueryIdentityTreeResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_identity_tree<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MaAuthQueryIdentityTreeResult, WxErrorException>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
查询个人认证身份选项列表(对应 Java queryIdentityTree():
GET null 参数 → MaAuthQueryIdentityTreeResult)。
Auto Trait Implementations§
impl !RefUnwindSafe for WxOpenMaAuthServiceImpl
impl !UnwindSafe for WxOpenMaAuthServiceImpl
impl Freeze for WxOpenMaAuthServiceImpl
impl Send for WxOpenMaAuthServiceImpl
impl Sync for WxOpenMaAuthServiceImpl
impl Unpin for WxOpenMaAuthServiceImpl
impl UnsafeUnpin for WxOpenMaAuthServiceImpl
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