noah-sdk 1.1.0

A modern, type-safe Rust SDK for the Noah Business API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetFormResponse {
    #[serde(rename = "FormSchema", skip_serializing_if = "Option::is_none")]
    pub form_schema: Option<Box<models::FormSchema>>,
}

impl GetFormResponse {
    pub fn new() -> GetFormResponse {
        GetFormResponse { form_schema: None }
    }
}