clerk_rs/models/
domains.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 Domains {
13	#[serde(rename = "data")]
14	pub data: Vec<crate::models::Domain>,
15	/// Total number of domains
16	#[serde(rename = "total_count")]
17	pub total_count: i64,
18}
19
20impl Domains {
21	pub fn new(data: Vec<crate::models::Domain>, total_count: i64) -> Domains {
22		Domains { data, total_count }
23	}
24}