pub struct FactEndpoint(/* private fields */);
Expand description
An endpoint that sends a random fact of an animal
§Examples
use some_random_api::Client;
Client::new(None::<String>).fact.bird().await?;
Implementations§
Source§impl FactEndpoint
impl FactEndpoint
Auto Trait Implementations§
impl Freeze for FactEndpoint
impl !RefUnwindSafe for FactEndpoint
impl Send for FactEndpoint
impl Sync for FactEndpoint
impl Unpin for FactEndpoint
impl !UnwindSafe for FactEndpoint
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