mycelium-api 9.0.0-rc.6

Provide API ports to the mycelium project.
1
2
3
4
5
6
7
8
9
10
11
12
13
use schemars::JsonSchema;
use serde::Deserialize;
use uuid::Uuid;

#[derive(Deserialize, JsonSchema)]
#[serde(rename_all = "camelCase")]
pub struct FetchResourceAuditTrailParams {
    #[schemars(
        description = "Resource type: account, accountMeta, user, tenant, tenantMeta, guestRole, webhook"
    )]
    pub resource_type: String,
    pub resource_id: Uuid,
}