stripe/resources/generated/
application.rs1use crate::ids::ApplicationId;
6use crate::params::Object;
7use serde::{Deserialize, Serialize};
8
9#[derive(Clone, Debug, Default, Deserialize, Serialize)]
11pub struct Application {
12 pub id: ApplicationId,
14
15 #[serde(default)]
17 pub deleted: bool,
18
19 pub name: Option<String>,
21}
22
23impl Object for Application {
24 type Id = ApplicationId;
25 fn id(&self) -> Self::Id {
26 self.id.clone()
27 }
28 fn object(&self) -> &'static str {
29 "application"
30 }
31}