Module mangadex_api::v5::settings::create_template
source · [−]Expand description
Builder for creating a Settings template.
https://api.mangadex.org/swagger.html#/Settings/post-settings-template
ⓘ
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?;
let res = client
.settings()
.create_template()
.build()?
.send()
.await?;
println!("Create Settings template: {:?}", res);
Structs
Create a Settings template.
Builder for CreateSettingsTemplate
.
Enums
Error type for CreateSettingsTemplateBuilder