Module mangadex_api::v5::settings::get_latest_template
source · [−]Expand description
Builder for getting the latest Settings template.
https://api.mangadex.org/swagger.html#/Settings/get-settings-template
ⓘ
use mangadex_api::MangaDexClient;
use mangadex_api::types::{Password, Username};
use uuid::Uuid;
let client = MangaDexClient::default();
let _login_res = client
.auth()
.login()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
let res = client
.settings()
.get_latest_template()
.build()?
.send()
.await?;
println!("Settings template: {:?}", res);
Structs
Get the latest Settings template.
Enums
Error type for GetLatestSettingsTemplateBuilder