google_cloud_location/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::ListLocationsRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("ListLocationsRequest");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("filter", &self.filter);
25 debug_struct.field("page_size", &self.page_size);
26 debug_struct.field("page_token", &self.page_token);
27 if !self._unknown_fields.is_empty() {
28 debug_struct.field("_unknown_fields", &self._unknown_fields);
29 }
30 debug_struct.finish()
31 }
32}
33
34impl std::fmt::Debug for super::ListLocationsResponse {
35 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
36 let mut debug_struct = f.debug_struct("ListLocationsResponse");
37 debug_struct.field("locations", &self.locations);
38 debug_struct.field("next_page_token", &self.next_page_token);
39 if !self._unknown_fields.is_empty() {
40 debug_struct.field("_unknown_fields", &self._unknown_fields);
41 }
42 debug_struct.finish()
43 }
44}
45
46impl std::fmt::Debug for super::GetLocationRequest {
47 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48 let mut debug_struct = f.debug_struct("GetLocationRequest");
49 debug_struct.field("name", &self.name);
50 if !self._unknown_fields.is_empty() {
51 debug_struct.field("_unknown_fields", &self._unknown_fields);
52 }
53 debug_struct.finish()
54 }
55}
56
57impl std::fmt::Debug for super::Location {
58 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59 let mut debug_struct = f.debug_struct("Location");
60 debug_struct.field("name", &self.name);
61 debug_struct.field("location_id", &self.location_id);
62 debug_struct.field("display_name", &self.display_name);
63 debug_struct.field("labels", &self.labels);
64 debug_struct.field("metadata", &self.metadata);
65 if !self._unknown_fields.is_empty() {
66 debug_struct.field("_unknown_fields", &self._unknown_fields);
67 }
68 debug_struct.finish()
69 }
70}