clerk_rs/models/blocklist_identifiers.rs
1/*
2 * Clerk Backend API
3 *
4 * The Clerk REST Backend API, meant to be accessed by backend servers. Please see https://clerk.com/docs for more information.
5 *
6 * The version of the OpenAPI document: v1
7 * Contact: support@clerk.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct BlocklistIdentifiers {
13 #[serde(rename = "data")]
14 pub data: Vec<crate::models::BlocklistIdentifier>,
15 /// Total number of blocklist identifiers
16 #[serde(rename = "total_count")]
17 pub total_count: i64,
18}
19
20impl BlocklistIdentifiers {
21 pub fn new(data: Vec<crate::models::BlocklistIdentifier>, total_count: i64) -> BlocklistIdentifiers {
22 BlocklistIdentifiers { data, total_count }
23 }
24}