Expand description
Builder for getting a Settings template by version ID.
https://api.mangadex.org/docs/swagger.html#/Settings/get-settings-template-version
use mangadex_api::MangaDexClient;
// use mangadex_api_types::{Password, Username};
use uuid::Uuid;
let client = MangaDexClient::default();
/*
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let version_id = Uuid::new_v4();
let res = client
.settings()
.template()
.version(version_id)
.get()
.send()
.await?;
println!("Settings template: {:?}", res);
Structsยง
- Get a Settings template by version ID.
- Builder for
GetSettingsTemplateByVersionId
.