Module mangadex_api::v5::settings::create_or_update_user_settings
source · [−]Expand description
Builder for creating or updating a user’s Settings.
https://api.mangadex.org/swagger.html#/Settings/post-settings
ⓘ
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_or_update_user_settings()
.build()?
.send()
.await?;
println!("Create Settings: {:?}", res);
Structs
Create or update a user’s Settings.
Enums
Error type for CreateOrUpdateUserSettingsBuilder