lattice-sdk 0.1.1

Rust SDK for Lattice API
Documentation
1
2
3
4
5
6
7
8
9
10
pub use crate::prelude::*;

/// A User Principal representing a human.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct User {
    /// The User ID associated with this User.
    #[serde(rename = "userId")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub user_id: Option<String>,
}