1use aws_sdk_ec2 as ec2;
2
3use super::*;
4
5impl Show for ec2::types::Vpc {
6 fn _fmt(&self) -> Box<dyn fmt::Display> {
7 Box::new(fmtools::format!(
12 "VPCS\t" { self.cidr_block()._fmt() } "\t"
13 { self.dhcp_options_id()._fmt() } "\t"
14 { self.instance_tenancy()._fmt() } "\t"
15 { self.is_default()._fmt() } "\t"
16 { self.owner_id()._fmt() } "\t"
17 { self.state()._fmt() } "\t"
18 { self.vpc_id()._fmt() } "\t\n"
19 { self.ipv6_cidr_block_association_set()._fmt() }
20 { self.cidr_block_association_set()._fmt() }
21 ))
22 }
23}
24
25impl Show for ec2::types::VpcState {
26 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
27 Box::new(self)
28 }
29}
30
31impl Show for ec2::types::Tenancy {
32 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
33 Box::new(self)
34 }
35}
36
37impl Show for ec2::types::VpcIpv6CidrBlockAssociation {
38 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
39 Box::new(fmtools::fmt!(
40 "IPV6CIDRBLOCKASSOCIATIONSET\t"
41 { self.association_id()._fmt() } "\t"
42 { self.ipv6_cidr_block()._fmt() } "\t"
43 { self.ipv6_cidr_block_state()._fmt() } "\t"
44 { self.network_border_group()._fmt() } "\t"
45 { self.ipv6_pool()._fmt() }
46 ))
47 }
48}
49
50impl Show for ec2::types::VpcCidrBlockAssociation {
51 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
52 Box::new(fmtools::fmt!(
53 "CIDRBLOCKASSOCIATIONSET\t"
54 { self.association_id()._fmt() } "\t"
55 { self.cidr_block()._fmt() } "\t\n"
56 { self.cidr_block_state()._fmt() }
57 ))
58 }
59}
60
61impl Show for ec2::types::VpcCidrBlockState {
62 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
63 Box::new(fmtools::fmt!(
64 "CIDRBLOCKSTATE\t"
65 { self.state()._fmt() } "\t"
66 { self.status_message()._fmt() } "\t"
67
68 ))
69 }
70}
71
72impl Show for ec2::types::VpcCidrBlockStateCode {
73 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
74 Box::new(self)
75 }
76}