drogue-client 0.11.1

Clients for the Drogue IoT Cloud APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Structures to work with users and identities.

use serde::{Deserialize, Serialize};

/// Details on an authenticated user.
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UserDetails {
    /// A unique user ID.
    pub user_id: String,
    /// Granted roles.
    pub roles: Vec<String>,
}