Expand description

Builder for getting a Settings template by version ID.

https://api.mangadex.org/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()
    .username(Username::parse("myusername")?)
    .password(Password::parse("hunter23")?)
    .build()?
    .send()
    .await?;

let version_id = Uuid::new_v4();

let res = client
    .settings()
    .get_template_by_version_id()
    .version(&version_id)
    .build()?
    .send()
    .await?;

println!("Settings template: {:?}", res);

Structs

Enums

Error type for GetSettingsTemplateByVersionIdBuilder