windmill_api/models/
secret_migration_failure.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct SecretMigrationFailure {
16 #[serde(rename = "workspace_id")]
18 pub workspace_id: String,
19 #[serde(rename = "path")]
21 pub path: String,
22 #[serde(rename = "error")]
24 pub error: String,
25}
26
27impl SecretMigrationFailure {
28 pub fn new(workspace_id: String, path: String, error: String) -> SecretMigrationFailure {
29 SecretMigrationFailure {
30 workspace_id,
31 path,
32 error,
33 }
34 }
35}
36