1use super::*;
2
3impl Show for aws_sdk_ebs::types::Block {
4 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
5 Box::new(fmtools::fmt!(
6 "INDEX\t" { self.block_index()._fmt() } "\t"
7 "TOKEN\t" { self.block_token()._fmt() }
8 ))
9 }
10}
11
12impl Show for aws_sdk_ebs::types::ChangedBlock {
13 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
14 Box::new(fmtools::fmt!(
15 "INDEX\t" { self.block_index()._fmt() } "\n"
16 "\tFIRST_TOKEN\t" { self.first_block_token()._fmt() } "\n"
17 "\tSECOND_TOKEN\t" { self.second_block_token()._fmt() }
18
19 ))
20 }
21}
22
23impl Show for aws_sdk_ebs::types::Status {
24 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
25 Box::new(self)
26 }
27}
28
29impl Show for aws_sdk_ebs::types::Tag {
30 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
31 Box::new(fmtools::fmt!(
32 "TAGS\t\t" { self.key()._fmt() } "\t" { self.value()._fmt() }
33 ))
34 }
35}
36
37impl Show for aws_sdk_ebs::types::ChecksumAlgorithm {
38 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
39 Box::new(self)
40 }
41}
42
43impl Show for aws_sdk_ebs::operation::start_snapshot::StartSnapshotOutput {
44 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
45 Box::new(fmtools::fmt!(
46 { prefixed_item("DESCRIPTION", self.description()) } "\n"
47 { prefixed_item("SNAPSHOT_ID", self.snapshot_id()) } "\n"
48 { prefixed_item("OWNER_ID", self.owner_id()) } "\n"
49 { prefixed_item("STATUS", self.status()) } "\n"
50 { prefixed_item("START_TIME", self.start_time()) } "\n"
51 { prefixed_item("VOLUME_SIZE", self.volume_size()) } "\n"
52 { prefixed_item("BLOCK_SIZE", self.block_size()) } "\n"
53 { prefixed_items("TAGS", self.tags()) } "\n"
54 { prefixed_item("PARENT_SNAPSHOT_ID", self.parent_snapshot_id()) } "\n"
55 { prefixed_item("KSM_KEY_ARN", self.kms_key_arn()) } "\n"
56 ))
57 }
58}
59
60impl Show for aws_sdk_ebs::operation::put_snapshot_block::PutSnapshotBlockOutput {
61 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
62 Box::new(fmtools::fmt!(
63 { self.checksum_algorithm()._fmt() } "\t" { self.checksum()._fmt() }
64 ))
65 }
66}
67
68impl Show for aws_sdk_ebs::operation::get_snapshot_block::GetSnapshotBlockOutput {
69 fn _fmt(&self) -> Box<dyn fmt::Display + '_> {
70 Box::new(fmtools::fmt!(
71 { prefixed_item("DATA_LENGTH", self.data_length()) } "\t"
72 { prefixed_item("CKSUM_ALGO", self.checksum_algorithm() )} "\t"
73 { prefixed_item("CKSUM", self.checksum()) }
74 ))
75 }
76}