lattice_sdk/api/types/
user.rs

1pub use crate::prelude::*;
2
3/// A User Principal representing a human.
4#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
5pub struct User {
6    /// The User ID associated with this User.
7    #[serde(rename = "userId")]
8    #[serde(skip_serializing_if = "Option::is_none")]
9    pub user_id: Option<String>,
10}