google_cloud_essentialcontacts_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Contact {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Contact");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("email", &self.email);
25 debug_struct.field(
26 "notification_category_subscriptions",
27 &self.notification_category_subscriptions,
28 );
29 debug_struct.field("language_tag", &self.language_tag);
30 debug_struct.field("validation_state", &self.validation_state);
31 debug_struct.field("validate_time", &self.validate_time);
32 if !self._unknown_fields.is_empty() {
33 debug_struct.field("_unknown_fields", &self._unknown_fields);
34 }
35 debug_struct.finish()
36 }
37}
38
39impl std::fmt::Debug for super::ListContactsRequest {
40 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
41 let mut debug_struct = f.debug_struct("ListContactsRequest");
42 debug_struct.field("parent", &self.parent);
43 debug_struct.field("page_size", &self.page_size);
44 debug_struct.field("page_token", &self.page_token);
45 if !self._unknown_fields.is_empty() {
46 debug_struct.field("_unknown_fields", &self._unknown_fields);
47 }
48 debug_struct.finish()
49 }
50}
51
52impl std::fmt::Debug for super::ListContactsResponse {
53 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
54 let mut debug_struct = f.debug_struct("ListContactsResponse");
55 debug_struct.field("contacts", &self.contacts);
56 debug_struct.field("next_page_token", &self.next_page_token);
57 if !self._unknown_fields.is_empty() {
58 debug_struct.field("_unknown_fields", &self._unknown_fields);
59 }
60 debug_struct.finish()
61 }
62}
63
64impl std::fmt::Debug for super::GetContactRequest {
65 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
66 let mut debug_struct = f.debug_struct("GetContactRequest");
67 debug_struct.field("name", &self.name);
68 if !self._unknown_fields.is_empty() {
69 debug_struct.field("_unknown_fields", &self._unknown_fields);
70 }
71 debug_struct.finish()
72 }
73}
74
75impl std::fmt::Debug for super::DeleteContactRequest {
76 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
77 let mut debug_struct = f.debug_struct("DeleteContactRequest");
78 debug_struct.field("name", &self.name);
79 if !self._unknown_fields.is_empty() {
80 debug_struct.field("_unknown_fields", &self._unknown_fields);
81 }
82 debug_struct.finish()
83 }
84}
85
86impl std::fmt::Debug for super::CreateContactRequest {
87 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
88 let mut debug_struct = f.debug_struct("CreateContactRequest");
89 debug_struct.field("parent", &self.parent);
90 debug_struct.field("contact", &self.contact);
91 if !self._unknown_fields.is_empty() {
92 debug_struct.field("_unknown_fields", &self._unknown_fields);
93 }
94 debug_struct.finish()
95 }
96}
97
98impl std::fmt::Debug for super::UpdateContactRequest {
99 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
100 let mut debug_struct = f.debug_struct("UpdateContactRequest");
101 debug_struct.field("contact", &self.contact);
102 debug_struct.field("update_mask", &self.update_mask);
103 if !self._unknown_fields.is_empty() {
104 debug_struct.field("_unknown_fields", &self._unknown_fields);
105 }
106 debug_struct.finish()
107 }
108}
109
110impl std::fmt::Debug for super::ComputeContactsRequest {
111 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
112 let mut debug_struct = f.debug_struct("ComputeContactsRequest");
113 debug_struct.field("parent", &self.parent);
114 debug_struct.field("notification_categories", &self.notification_categories);
115 debug_struct.field("page_size", &self.page_size);
116 debug_struct.field("page_token", &self.page_token);
117 if !self._unknown_fields.is_empty() {
118 debug_struct.field("_unknown_fields", &self._unknown_fields);
119 }
120 debug_struct.finish()
121 }
122}
123
124impl std::fmt::Debug for super::ComputeContactsResponse {
125 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
126 let mut debug_struct = f.debug_struct("ComputeContactsResponse");
127 debug_struct.field("contacts", &self.contacts);
128 debug_struct.field("next_page_token", &self.next_page_token);
129 if !self._unknown_fields.is_empty() {
130 debug_struct.field("_unknown_fields", &self._unknown_fields);
131 }
132 debug_struct.finish()
133 }
134}
135
136impl std::fmt::Debug for super::SendTestMessageRequest {
137 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
138 let mut debug_struct = f.debug_struct("SendTestMessageRequest");
139 debug_struct.field("contacts", &self.contacts);
140 debug_struct.field("resource", &self.resource);
141 debug_struct.field("notification_category", &self.notification_category);
142 if !self._unknown_fields.is_empty() {
143 debug_struct.field("_unknown_fields", &self._unknown_fields);
144 }
145 debug_struct.finish()
146 }
147}