devops_armory/cloud/gcp/vpc/address/
models.rs1use serde_derive::{Serialize, Deserialize};
2
3#[derive(Default, Deserialize, Serialize, Debug)]
4pub struct IPName {
5 pub name: String,
6}
7
8#[derive(Default, Deserialize, Serialize, Debug)]
9pub struct IpAddress {
10 pub name: String,
11 pub address: String,
12 pub prefixLength: String,
13 pub networkTier: String,
14 pub ipVersion: String,
15 pub addressType: String,
16 pub purpose: String,
17 pub network: String,
18}
19
20#[derive(Default, Deserialize, Serialize, Debug)]
21pub struct IpAddressRegion {
22 pub name: String,
23 pub networkTier: String,
24 pub addressType: String,
27}
28
29#[derive(Default, Deserialize, Serialize, Debug, Clone)]
30pub struct GetIpAddress {
31 pub kind: String,
32 pub id: String,
33 pub creationTimestamp: String,
34 pub name: String,
35 pub description: String,
36 pub address: String,
37 pub status: String,
38 pub selfLink: String,
39 pub networkTier: String,
40 pub labelFingerprint: String,
41 pub ipVersion: String,
42 pub addressType: String
43}