Struct boticordrs::BoticordClient
source · [−]pub struct BoticordClient { /* private fields */ }
Expand description
You can use it to make it much easier to use the Boticord API.
Implementations
Constructs a new Client.
Constructs a new Client with ReqwestClient specified by user.
Get information about a specific bot.
pub async fn get_bot_comments(
&self,
bot: String
) -> Result<Vec<SingleComment>, BoticordError>
pub async fn get_bot_comments(
&self,
bot: String
) -> Result<Vec<SingleComment>, BoticordError>
Get vec of bot’s comments.
Post current bot’s stats.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BoticordClient
impl Send for BoticordClient
impl Sync for BoticordClient
impl Unpin for BoticordClient
impl !UnwindSafe for BoticordClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more