pub struct WeChat { /* private fields */ }
Expand description
Main WeChat SDK client
Implementations§
Source§impl WeChat
impl WeChat
Sourcepub fn builder() -> WeChatBuilder
pub fn builder() -> WeChatBuilder
Create a new WeChat client builder
Sourcepub fn official(&self) -> OfficialClient
pub fn official(&self) -> OfficialClient
Get the official account client
Sourcepub fn miniapp(&self) -> MiniAppClient
pub fn miniapp(&self) -> MiniAppClient
Get the mini program client
Auto Trait Implementations§
impl Freeze for WeChat
impl !RefUnwindSafe for WeChat
impl Send for WeChat
impl Sync for WeChat
impl Unpin for WeChat
impl !UnwindSafe for WeChat
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