langfuse_client_base/models/
organization_projects_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, bon::Builder)]
15pub struct OrganizationProjectsResponse {
16 #[serde(rename = "projects")]
17 pub projects: Vec<models::OrganizationProject>,
18}
19
20impl OrganizationProjectsResponse {
21 pub fn new(projects: Vec<models::OrganizationProject>) -> OrganizationProjectsResponse {
22 OrganizationProjectsResponse { projects }
23 }
24}