pub struct Client {
pub animal: AnimalEndpoint,
pub animu: AnimuEndpoint,
pub canvas: CanvasEndpoint,
pub chatbot: ChatBotEndpoint,
pub fact: FactEndpoint,
pub image: ImageEndpoint,
pub others: OthersEndpoint,
pub pokemon: PokemonEndpoint,
pub premium: PremiumEndpoint,
pub welcome: WelcomeEndpoint,
}
Expand description
A struct with functions used for interacting with Some Random API
Fields§
§animal: AnimalEndpoint
§animu: AnimuEndpoint
§canvas: CanvasEndpoint
§chatbot: ChatBotEndpoint
§fact: FactEndpoint
§image: ImageEndpoint
§others: OthersEndpoint
§pokemon: PokemonEndpoint
§welcome: WelcomeEndpoint
Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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