authentik_rust/models/
transaction_application_response.rs1use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct TransactionApplicationResponse {
16 #[serde(rename = "applied")]
17 pub applied: bool,
18 #[serde(rename = "logs")]
19 pub logs: Vec<String>,
20}
21
22impl TransactionApplicationResponse {
23 pub fn new(applied: bool, logs: Vec<String>) -> TransactionApplicationResponse {
25 TransactionApplicationResponse {
26 applied,
27 logs,
28 }
29 }
30}
31