raws_show/
account.rs

1use super::*;
2
3impl Show for aws_sdk_account::types::Region {
4    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
5        Box::new(fmtools::fmt!(
6            "REGIONS\t"
7            { self.region_name()._fmt() } "\t"
8            { self.region_opt_status()._fmt() }
9        ))
10    }
11}
12
13impl Show for aws_sdk_account::operation::get_region_opt_status::GetRegionOptStatusOutput {
14    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
15        Box::new(fmtools::fmt!(
16            { self.region_name()._fmt() } "\t"
17            { self.region_opt_status()._fmt() }
18        ))
19    }
20}
21
22impl Show for aws_sdk_account::types::AlternateContact {
23    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
24        Box::new(fmtools::fmt!(
25            "NAME  " { self.name()._fmt() } "\n"
26            "TITLE " { self.title()._fmt() } "\n"
27            "EMAIL " { self.email_address()._fmt() } "\n"
28            "PHONE " { self.phone_number()._fmt() } "\n"
29            "TYPE  " { self.alternate_contact_type()._fmt( )}
30        ))
31    }
32}
33
34impl Show for aws_sdk_account::types::ContactInformation {
35    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
36        Box::new(fmtools::fmt!(
37            "AddressLine1     " { self.address_line1()._fmt() } "\n"
38            "AddressLine2     " { self.address_line2()._fmt() } "\n"
39            "AddressLine3     " { self.address_line3()._fmt() } "\n"
40            "City             " { self.city()._fmt() }  "\n"
41            "CompanyName      " { self.company_name()._fmt() } "\n"
42            "CountryCode      " { self.country_code()._fmt() } "\n"
43            "DistrictOrCounty " { self.district_or_county()._fmt() } "\n"
44            "FullName         " { self.full_name()._fmt() } "\n"
45            "PhoneNumner      " { self.phone_number()._fmt() } "\n"
46            "PostalCode       " { self.postal_code()._fmt() } "\n"
47            "StateOrRegion    " { self.state_or_region()._fmt() } "\n"
48            "WebsiteUrl       " { self.website_url()._fmt() }
49        ))
50    }
51}
52
53impl Show for aws_sdk_account::types::RegionOptStatus {
54    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
55        Box::new(self)
56    }
57}
58
59impl Show for aws_sdk_account::types::AlternateContactType {
60    fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
61        Box::new(self)
62    }
63}