pub struct RandomService<'a> { /* private fields */ }Implementations§
Source§impl<'a> RandomService<'a>
impl<'a> RandomService<'a>
Sourcepub async fn get_answerbook_ask(
&self,
params: GetAnswerbookAskParams,
) -> Result<Value>
pub async fn get_answerbook_ask( &self, params: GetAnswerbookAskParams, ) -> Result<Value>
获取答案之书的神秘答案 (GET)
Sourcepub async fn get_random_image(
&self,
params: GetRandomImageParams,
) -> Result<Value>
pub async fn get_random_image( &self, params: GetRandomImageParams, ) -> Result<Value>
随机二次元、风景、动漫图片壁纸
Sourcepub async fn get_random_string(
&self,
params: GetRandomStringParams,
) -> Result<Value>
pub async fn get_random_string( &self, params: GetRandomStringParams, ) -> Result<Value>
生成高度可定制的随机字符串
Sourcepub async fn post_answerbook_ask(
&self,
params: PostAnswerbookAskParams,
) -> Result<Value>
pub async fn post_answerbook_ask( &self, params: PostAnswerbookAskParams, ) -> Result<Value>
获取答案之书的神秘答案 (POST)
Trait Implementations§
Source§impl<'a> Clone for RandomService<'a>
impl<'a> Clone for RandomService<'a>
Source§fn clone(&self) -> RandomService<'a>
fn clone(&self) -> RandomService<'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 RandomService<'a>
impl<'a> !RefUnwindSafe for RandomService<'a>
impl<'a> Send for RandomService<'a>
impl<'a> Sync for RandomService<'a>
impl<'a> Unpin for RandomService<'a>
impl<'a> !UnwindSafe for RandomService<'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