pub struct MiscService<'a> { /* private fields */ }Implementations§
Source§impl<'a> MiscService<'a>
impl<'a> MiscService<'a>
Sourcepub async fn get_history_programmer(
&self,
params: GetHistoryProgrammerParams,
) -> Result<Value>
pub async fn get_history_programmer( &self, params: GetHistoryProgrammerParams, ) -> Result<Value>
获取指定日期的程序员历史事件
Sourcepub async fn get_history_programmer_today(&self) -> Result<Value>
pub async fn get_history_programmer_today(&self) -> Result<Value>
获取今天的程序员历史事件
Sourcepub async fn get_misc_hotboard(
&self,
params: GetMiscHotboardParams,
) -> Result<Value>
pub async fn get_misc_hotboard( &self, params: GetMiscHotboardParams, ) -> Result<Value>
获取多平台实时热榜
Sourcepub async fn get_misc_phoneinfo(
&self,
params: GetMiscPhoneinfoParams,
) -> Result<Value>
pub async fn get_misc_phoneinfo( &self, params: GetMiscPhoneinfoParams, ) -> Result<Value>
查询手机号码归属地信息
Sourcepub async fn get_misc_randomnumber(
&self,
params: GetMiscRandomnumberParams,
) -> Result<Value>
pub async fn get_misc_randomnumber( &self, params: GetMiscRandomnumberParams, ) -> Result<Value>
生成高度可定制的随机数
Sourcepub async fn get_misc_timestamp(
&self,
params: GetMiscTimestampParams,
) -> Result<Value>
pub async fn get_misc_timestamp( &self, params: GetMiscTimestampParams, ) -> Result<Value>
转换时间戳 (旧版,推荐使用/convert/unixtime)
Sourcepub async fn get_misc_tracking_carriers(&self) -> Result<Value>
pub async fn get_misc_tracking_carriers(&self) -> Result<Value>
获取支持的快递公司列表
Sourcepub async fn get_misc_tracking_detect(
&self,
params: GetMiscTrackingDetectParams,
) -> Result<Value>
pub async fn get_misc_tracking_detect( &self, params: GetMiscTrackingDetectParams, ) -> Result<Value>
识别快递公司
Sourcepub async fn get_misc_tracking_query(
&self,
params: GetMiscTrackingQueryParams,
) -> Result<Value>
pub async fn get_misc_tracking_query( &self, params: GetMiscTrackingQueryParams, ) -> Result<Value>
查询快递物流信息
Sourcepub async fn get_misc_weather(
&self,
params: GetMiscWeatherParams,
) -> Result<Value>
pub async fn get_misc_weather( &self, params: GetMiscWeatherParams, ) -> Result<Value>
查询实时天气信息
Sourcepub async fn get_misc_worldtime(
&self,
params: GetMiscWorldtimeParams,
) -> Result<Value>
pub async fn get_misc_worldtime( &self, params: GetMiscWorldtimeParams, ) -> Result<Value>
查询全球任意时区的时间
Trait Implementations§
Source§impl<'a> Clone for MiscService<'a>
impl<'a> Clone for MiscService<'a>
Source§fn clone(&self) -> MiscService<'a>
fn clone(&self) -> MiscService<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for MiscService<'a>
impl<'a> !RefUnwindSafe for MiscService<'a>
impl<'a> Send for MiscService<'a>
impl<'a> Sync for MiscService<'a>
impl<'a> Unpin for MiscService<'a>
impl<'a> !UnwindSafe for MiscService<'a>
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