google_cloud_vpcaccess_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Connector {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Connector");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("network", &self.network);
25 debug_struct.field("ip_cidr_range", &self.ip_cidr_range);
26 debug_struct.field("state", &self.state);
27 debug_struct.field("min_throughput", &self.min_throughput);
28 debug_struct.field("max_throughput", &self.max_throughput);
29 debug_struct.field("connected_projects", &self.connected_projects);
30 debug_struct.field("subnet", &self.subnet);
31 debug_struct.field("machine_type", &self.machine_type);
32 debug_struct.field("min_instances", &self.min_instances);
33 debug_struct.field("max_instances", &self.max_instances);
34 if !self._unknown_fields.is_empty() {
35 debug_struct.field("_unknown_fields", &self._unknown_fields);
36 }
37 debug_struct.finish()
38 }
39}
40
41impl std::fmt::Debug for super::connector::Subnet {
42 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
43 let mut debug_struct = f.debug_struct("Subnet");
44 debug_struct.field("name", &self.name);
45 debug_struct.field("project_id", &self.project_id);
46 if !self._unknown_fields.is_empty() {
47 debug_struct.field("_unknown_fields", &self._unknown_fields);
48 }
49 debug_struct.finish()
50 }
51}
52
53impl std::fmt::Debug for super::CreateConnectorRequest {
54 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
55 let mut debug_struct = f.debug_struct("CreateConnectorRequest");
56 debug_struct.field("parent", &self.parent);
57 debug_struct.field("connector_id", &self.connector_id);
58 debug_struct.field("connector", &self.connector);
59 if !self._unknown_fields.is_empty() {
60 debug_struct.field("_unknown_fields", &self._unknown_fields);
61 }
62 debug_struct.finish()
63 }
64}
65
66impl std::fmt::Debug for super::GetConnectorRequest {
67 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
68 let mut debug_struct = f.debug_struct("GetConnectorRequest");
69 debug_struct.field("name", &self.name);
70 if !self._unknown_fields.is_empty() {
71 debug_struct.field("_unknown_fields", &self._unknown_fields);
72 }
73 debug_struct.finish()
74 }
75}
76
77impl std::fmt::Debug for super::ListConnectorsRequest {
78 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
79 let mut debug_struct = f.debug_struct("ListConnectorsRequest");
80 debug_struct.field("parent", &self.parent);
81 debug_struct.field("page_size", &self.page_size);
82 debug_struct.field("page_token", &self.page_token);
83 if !self._unknown_fields.is_empty() {
84 debug_struct.field("_unknown_fields", &self._unknown_fields);
85 }
86 debug_struct.finish()
87 }
88}
89
90impl std::fmt::Debug for super::ListConnectorsResponse {
91 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92 let mut debug_struct = f.debug_struct("ListConnectorsResponse");
93 debug_struct.field("connectors", &self.connectors);
94 debug_struct.field("next_page_token", &self.next_page_token);
95 if !self._unknown_fields.is_empty() {
96 debug_struct.field("_unknown_fields", &self._unknown_fields);
97 }
98 debug_struct.finish()
99 }
100}
101
102impl std::fmt::Debug for super::DeleteConnectorRequest {
103 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
104 let mut debug_struct = f.debug_struct("DeleteConnectorRequest");
105 debug_struct.field("name", &self.name);
106 if !self._unknown_fields.is_empty() {
107 debug_struct.field("_unknown_fields", &self._unknown_fields);
108 }
109 debug_struct.finish()
110 }
111}
112
113impl std::fmt::Debug for super::OperationMetadata {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 let mut debug_struct = f.debug_struct("OperationMetadata");
116 debug_struct.field("method", &self.method);
117 debug_struct.field("create_time", &self.create_time);
118 debug_struct.field("end_time", &self.end_time);
119 debug_struct.field("target", &self.target);
120 if !self._unknown_fields.is_empty() {
121 debug_struct.field("_unknown_fields", &self._unknown_fields);
122 }
123 debug_struct.finish()
124 }
125}