mangadex_api::v5::user::id

Module get

Source
Expand description

Builder for the user view endpoint.

https://api.mangadex.org/docs/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 user_id = Uuid::new_v4();

let user_res = client
    .user()
    .id(user_id)
    .get()
    .send()
    .await?;

println!("user view: {:?}", user_res);

Structs§