Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

393 B
Raw Blame
use utoipa::ToSchema;

#[derive(serde::Serialize, serde::Deserialize, Debug, ToSchema)]
pub struct GetUserInfo {
    /// The user id
    pub user_id: String,
    /// The user's organization id if there is one associated with the user
    #[serde(skip_serializing_if = "Option::is_none")]
    pub organization_id: Option<i32>,
    /// The user's permissions
    pub permissions: Vec<String>,
}