Expand description
Builder for the user view endpoint.
https://api.mangadex.org/swagger.html#/User/get-user-id
Examples
use uuid::Uuid;
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 user_id = Uuid::new_v4();
let user_res = client
.user()
.get()
.user_id(&user_id)
.build()?
.send()
.await?;
println!("user view: {:?}", user_res);
Structs
Builder for GetUser
.
Enums
Error type for GetUserBuilder