google_cloud_workflows_executions_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Execution {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Execution");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("start_time", &self.start_time);
25 debug_struct.field("end_time", &self.end_time);
26 debug_struct.field("duration", &self.duration);
27 debug_struct.field("state", &self.state);
28 debug_struct.field("argument", &self.argument);
29 debug_struct.field("result", &self.result);
30 debug_struct.field("error", &self.error);
31 debug_struct.field("workflow_revision_id", &self.workflow_revision_id);
32 debug_struct.field("call_log_level", &self.call_log_level);
33 debug_struct.field("status", &self.status);
34 debug_struct.field("labels", &self.labels);
35 debug_struct.field("state_error", &self.state_error);
36 if !self._unknown_fields.is_empty() {
37 debug_struct.field("_unknown_fields", &self._unknown_fields);
38 }
39 debug_struct.finish()
40 }
41}
42
43impl std::fmt::Debug for super::execution::StackTraceElement {
44 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45 let mut debug_struct = f.debug_struct("StackTraceElement");
46 debug_struct.field("step", &self.step);
47 debug_struct.field("routine", &self.routine);
48 debug_struct.field("position", &self.position);
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::execution::stack_trace_element::Position {
57 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58 let mut debug_struct = f.debug_struct("Position");
59 debug_struct.field("line", &self.line);
60 debug_struct.field("column", &self.column);
61 debug_struct.field("length", &self.length);
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::execution::StackTrace {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71 let mut debug_struct = f.debug_struct("StackTrace");
72 debug_struct.field("elements", &self.elements);
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::execution::Error {
81 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82 let mut debug_struct = f.debug_struct("Error");
83 debug_struct.field("payload", &self.payload);
84 debug_struct.field("context", &self.context);
85 debug_struct.field("stack_trace", &self.stack_trace);
86 if !self._unknown_fields.is_empty() {
87 debug_struct.field("_unknown_fields", &self._unknown_fields);
88 }
89 debug_struct.finish()
90 }
91}
92
93impl std::fmt::Debug for super::execution::Status {
94 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
95 let mut debug_struct = f.debug_struct("Status");
96 debug_struct.field("current_steps", &self.current_steps);
97 if !self._unknown_fields.is_empty() {
98 debug_struct.field("_unknown_fields", &self._unknown_fields);
99 }
100 debug_struct.finish()
101 }
102}
103
104impl std::fmt::Debug for super::execution::status::Step {
105 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
106 let mut debug_struct = f.debug_struct("Step");
107 debug_struct.field("routine", &self.routine);
108 debug_struct.field("step", &self.step);
109 if !self._unknown_fields.is_empty() {
110 debug_struct.field("_unknown_fields", &self._unknown_fields);
111 }
112 debug_struct.finish()
113 }
114}
115
116impl std::fmt::Debug for super::execution::StateError {
117 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118 let mut debug_struct = f.debug_struct("StateError");
119 debug_struct.field("details", &self.details);
120 debug_struct.field("r#type", &self.r#type);
121 if !self._unknown_fields.is_empty() {
122 debug_struct.field("_unknown_fields", &self._unknown_fields);
123 }
124 debug_struct.finish()
125 }
126}
127
128impl std::fmt::Debug for super::ListExecutionsRequest {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130 let mut debug_struct = f.debug_struct("ListExecutionsRequest");
131 debug_struct.field("parent", &self.parent);
132 debug_struct.field("page_size", &self.page_size);
133 debug_struct.field("page_token", &self.page_token);
134 debug_struct.field("view", &self.view);
135 debug_struct.field("filter", &self.filter);
136 debug_struct.field("order_by", &self.order_by);
137 if !self._unknown_fields.is_empty() {
138 debug_struct.field("_unknown_fields", &self._unknown_fields);
139 }
140 debug_struct.finish()
141 }
142}
143
144impl std::fmt::Debug for super::ListExecutionsResponse {
145 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
146 let mut debug_struct = f.debug_struct("ListExecutionsResponse");
147 debug_struct.field("executions", &self.executions);
148 debug_struct.field("next_page_token", &self.next_page_token);
149 if !self._unknown_fields.is_empty() {
150 debug_struct.field("_unknown_fields", &self._unknown_fields);
151 }
152 debug_struct.finish()
153 }
154}
155
156impl std::fmt::Debug for super::CreateExecutionRequest {
157 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
158 let mut debug_struct = f.debug_struct("CreateExecutionRequest");
159 debug_struct.field("parent", &self.parent);
160 debug_struct.field("execution", &self.execution);
161 if !self._unknown_fields.is_empty() {
162 debug_struct.field("_unknown_fields", &self._unknown_fields);
163 }
164 debug_struct.finish()
165 }
166}
167
168impl std::fmt::Debug for super::GetExecutionRequest {
169 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
170 let mut debug_struct = f.debug_struct("GetExecutionRequest");
171 debug_struct.field("name", &self.name);
172 debug_struct.field("view", &self.view);
173 if !self._unknown_fields.is_empty() {
174 debug_struct.field("_unknown_fields", &self._unknown_fields);
175 }
176 debug_struct.finish()
177 }
178}
179
180impl std::fmt::Debug for super::CancelExecutionRequest {
181 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
182 let mut debug_struct = f.debug_struct("CancelExecutionRequest");
183 debug_struct.field("name", &self.name);
184 if !self._unknown_fields.is_empty() {
185 debug_struct.field("_unknown_fields", &self._unknown_fields);
186 }
187 debug_struct.finish()
188 }
189}