Expand description
Builder for the auth logout endpoint.
https://api.mangadex.org/swagger.html#/Auth/post-auth-logout
Examples
use mangadex_api::MangaDexClient;
use mangadex_api::types::{Password, Username};
let client = MangaDexClient::default();
let _login_res = client
.auth()
.login()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
client
.auth()
.logout()
.build()?
.send()
.await?;
Structs
Logout of an account.
Builder for Logout
.
Enums
Error type for LogoutBuilder