pub struct AnimuEndpoint(/* private fields */);
Expand description
An endpoint that sends random things related to anime
§Examples
use some_random_api::Client;
Client::new(None::<String>).animu.wink().await?;
Implementations§
Source§impl AnimuEndpoint
impl AnimuEndpoint
Sourcepub async fn quote(&self) -> Result<AnimuQuote>
pub async fn quote(&self) -> Result<AnimuQuote>
Generate a random anime quote
Auto Trait Implementations§
impl Freeze for AnimuEndpoint
impl !RefUnwindSafe for AnimuEndpoint
impl Send for AnimuEndpoint
impl Sync for AnimuEndpoint
impl Unpin for AnimuEndpoint
impl !UnwindSafe for AnimuEndpoint
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