pub struct OthersEndpoint(/* private fields */);
Expand description
An endpoint that sends other random stuff
§Examples
use some_random_api::Client;
Client::new(None::<String>).others.joke().await?;
Implementations§
Source§impl OthersEndpoint
impl OthersEndpoint
Sourcepub async fn decode_base64<T: ToString>(&self, text: T) -> Result<Text>
pub async fn decode_base64<T: ToString>(&self, text: T) -> Result<Text>
Decode Base64
Sourcepub async fn encode_base64<T: ToString>(&self, text: T) -> Result<Base64>
pub async fn encode_base64<T: ToString>(&self, text: T) -> Result<Base64>
Encode Base64
pub async fn decode_binary<T: ToString>(&self, text: T) -> Result<Text>
pub async fn encode_binary<T: ToString>(&self, text: T) -> Result<Binary>
pub async fn bot_token<T: ToString>( &self, bot_id: Option<T>, ) -> Result<BotToken>
Sourcepub async fn dictionary<T: ToString>(&self, word: T) -> Result<Dictionary>
pub async fn dictionary<T: ToString>(&self, word: T) -> Result<Dictionary>
Look up words
Auto Trait Implementations§
impl Freeze for OthersEndpoint
impl !RefUnwindSafe for OthersEndpoint
impl Send for OthersEndpoint
impl Sync for OthersEndpoint
impl Unpin for OthersEndpoint
impl !UnwindSafe for OthersEndpoint
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