windmill_api/models/
remote_deploy_status.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct RemoteDeployStatus {
16 #[serde(rename = "target", skip_serializing_if = "Option::is_none")]
17 pub target: Option<Box<models::RemoteDeployTarget>>,
18 #[serde(rename = "connection", skip_serializing_if = "Option::is_none")]
19 pub connection: Option<Box<models::RemoteDeployConnection>>,
20}
21
22impl RemoteDeployStatus {
23 pub fn new() -> RemoteDeployStatus {
24 RemoteDeployStatus {
25 target: None,
26 connection: None,
27 }
28 }
29}
30