Expand description
Builder for creating or updating a user’s Settings.
https://api.mangadex.org/docs/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()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let res = client
.settings()
.post()
.send()
.await?;
println!("Create Settings: {:?}", res);
Structs§
- Create or update a user’s Settings.
- Builder for
CreateOrUpdateUserSettings
.