stripe/model/
deleted_terminal_configuration.rs

1use serde::{Serialize, Deserialize};
2///
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct DeletedTerminalConfiguration {
5    ///Always true for a deleted object
6    pub deleted: bool,
7    ///Unique identifier for the object.
8    pub id: String,
9    ///String representing the object's type. Objects of the same type share the same value.
10    pub object: String,
11}
12impl std::fmt::Display for DeletedTerminalConfiguration {
13    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
14        write!(f, "{}", serde_json::to_string(self).unwrap())
15    }
16}