pub struct LogisticsApi { /* private fields */ }Implementations§
Source§impl LogisticsApi
impl LogisticsApi
pub fn new(context: Arc<WechatContext>) -> Self
pub async fn bind_account( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
pub async fn get_all_account( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
pub async fn get_all_delivery( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
pub async fn get_order( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
pub async fn add_order( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
pub async fn get_path( &self, request: &LogisticsRequest, ) -> Result<LogisticsResponse, WechatError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogisticsApi
impl !RefUnwindSafe for LogisticsApi
impl Send for LogisticsApi
impl Sync for LogisticsApi
impl Unpin for LogisticsApi
impl UnsafeUnpin for LogisticsApi
impl !UnwindSafe for LogisticsApi
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