stripe/model/get_apps_secrets_response.rs
1use serde::{Serialize, Deserialize};
2use super::AppsSecret;
3///
4#[derive(Debug, Clone, Serialize, Deserialize, Default)]
5pub struct GetAppsSecretsResponse {
6 pub data: Vec<AppsSecret>,
7 ///True if this list has another page of items after this one that can be fetched.
8 pub has_more: bool,
9 ///String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
10 pub object: String,
11 ///The URL where this list can be accessed.
12 pub url: String,
13}
14impl std::fmt::Display for GetAppsSecretsResponse {
15 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
16 write!(f, "{}", serde_json::to_string(self).unwrap())
17 }
18}