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