google_cloud_ids_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Endpoint {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Endpoint");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("create_time", &self.create_time);
25 debug_struct.field("update_time", &self.update_time);
26 debug_struct.field("labels", &self.labels);
27 debug_struct.field("network", &self.network);
28 debug_struct.field("endpoint_forwarding_rule", &self.endpoint_forwarding_rule);
29 debug_struct.field("endpoint_ip", &self.endpoint_ip);
30 debug_struct.field("description", &self.description);
31 debug_struct.field("severity", &self.severity);
32 debug_struct.field("state", &self.state);
33 debug_struct.field("traffic_logs", &self.traffic_logs);
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::ListEndpointsRequest {
42 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
43 let mut debug_struct = f.debug_struct("ListEndpointsRequest");
44 debug_struct.field("parent", &self.parent);
45 debug_struct.field("page_size", &self.page_size);
46 debug_struct.field("page_token", &self.page_token);
47 debug_struct.field("filter", &self.filter);
48 debug_struct.field("order_by", &self.order_by);
49 if !self._unknown_fields.is_empty() {
50 debug_struct.field("_unknown_fields", &self._unknown_fields);
51 }
52 debug_struct.finish()
53 }
54}
55
56impl std::fmt::Debug for super::ListEndpointsResponse {
57 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58 let mut debug_struct = f.debug_struct("ListEndpointsResponse");
59 debug_struct.field("endpoints", &self.endpoints);
60 debug_struct.field("next_page_token", &self.next_page_token);
61 debug_struct.field("unreachable", &self.unreachable);
62 if !self._unknown_fields.is_empty() {
63 debug_struct.field("_unknown_fields", &self._unknown_fields);
64 }
65 debug_struct.finish()
66 }
67}
68
69impl std::fmt::Debug for super::GetEndpointRequest {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71 let mut debug_struct = f.debug_struct("GetEndpointRequest");
72 debug_struct.field("name", &self.name);
73 if !self._unknown_fields.is_empty() {
74 debug_struct.field("_unknown_fields", &self._unknown_fields);
75 }
76 debug_struct.finish()
77 }
78}
79
80impl std::fmt::Debug for super::CreateEndpointRequest {
81 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82 let mut debug_struct = f.debug_struct("CreateEndpointRequest");
83 debug_struct.field("parent", &self.parent);
84 debug_struct.field("endpoint_id", &self.endpoint_id);
85 debug_struct.field("endpoint", &self.endpoint);
86 debug_struct.field("request_id", &self.request_id);
87 if !self._unknown_fields.is_empty() {
88 debug_struct.field("_unknown_fields", &self._unknown_fields);
89 }
90 debug_struct.finish()
91 }
92}
93
94impl std::fmt::Debug for super::DeleteEndpointRequest {
95 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
96 let mut debug_struct = f.debug_struct("DeleteEndpointRequest");
97 debug_struct.field("name", &self.name);
98 debug_struct.field("request_id", &self.request_id);
99 if !self._unknown_fields.is_empty() {
100 debug_struct.field("_unknown_fields", &self._unknown_fields);
101 }
102 debug_struct.finish()
103 }
104}
105
106impl std::fmt::Debug for super::OperationMetadata {
107 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108 let mut debug_struct = f.debug_struct("OperationMetadata");
109 debug_struct.field("create_time", &self.create_time);
110 debug_struct.field("end_time", &self.end_time);
111 debug_struct.field("target", &self.target);
112 debug_struct.field("verb", &self.verb);
113 debug_struct.field("status_message", &self.status_message);
114 debug_struct.field("requested_cancellation", &self.requested_cancellation);
115 debug_struct.field("api_version", &self.api_version);
116 if !self._unknown_fields.is_empty() {
117 debug_struct.field("_unknown_fields", &self._unknown_fields);
118 }
119 debug_struct.finish()
120 }
121}