google_cloud_workflows_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Workflow {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Workflow");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("description", &self.description);
25        debug_struct.field("state", &self.state);
26        debug_struct.field("revision_id", &self.revision_id);
27        debug_struct.field("create_time", &self.create_time);
28        debug_struct.field("update_time", &self.update_time);
29        debug_struct.field("revision_create_time", &self.revision_create_time);
30        debug_struct.field("labels", &self.labels);
31        debug_struct.field("service_account", &self.service_account);
32        debug_struct.field("crypto_key_name", &self.crypto_key_name);
33        debug_struct.field("state_error", &self.state_error);
34        debug_struct.field("call_log_level", &self.call_log_level);
35        debug_struct.field("user_env_vars", &self.user_env_vars);
36        debug_struct.field("execution_history_level", &self.execution_history_level);
37        debug_struct.field("all_kms_keys", &self.all_kms_keys);
38        debug_struct.field("all_kms_keys_versions", &self.all_kms_keys_versions);
39        debug_struct.field("crypto_key_version", &self.crypto_key_version);
40        debug_struct.field("tags", &self.tags);
41        debug_struct.field("source_code", &self.source_code);
42        if !self._unknown_fields.is_empty() {
43            debug_struct.field("_unknown_fields", &self._unknown_fields);
44        }
45        debug_struct.finish()
46    }
47}
48
49impl std::fmt::Debug for super::workflow::StateError {
50    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
51        let mut debug_struct = f.debug_struct("StateError");
52        debug_struct.field("details", &self.details);
53        debug_struct.field("r#type", &self.r#type);
54        if !self._unknown_fields.is_empty() {
55            debug_struct.field("_unknown_fields", &self._unknown_fields);
56        }
57        debug_struct.finish()
58    }
59}
60
61impl std::fmt::Debug for super::ListWorkflowsRequest {
62    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
63        let mut debug_struct = f.debug_struct("ListWorkflowsRequest");
64        debug_struct.field("parent", &self.parent);
65        debug_struct.field("page_size", &self.page_size);
66        debug_struct.field("page_token", &self.page_token);
67        debug_struct.field("filter", &self.filter);
68        debug_struct.field("order_by", &self.order_by);
69        if !self._unknown_fields.is_empty() {
70            debug_struct.field("_unknown_fields", &self._unknown_fields);
71        }
72        debug_struct.finish()
73    }
74}
75
76impl std::fmt::Debug for super::ListWorkflowsResponse {
77    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
78        let mut debug_struct = f.debug_struct("ListWorkflowsResponse");
79        debug_struct.field("workflows", &self.workflows);
80        debug_struct.field("next_page_token", &self.next_page_token);
81        debug_struct.field("unreachable", &self.unreachable);
82        if !self._unknown_fields.is_empty() {
83            debug_struct.field("_unknown_fields", &self._unknown_fields);
84        }
85        debug_struct.finish()
86    }
87}
88
89impl std::fmt::Debug for super::GetWorkflowRequest {
90    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
91        let mut debug_struct = f.debug_struct("GetWorkflowRequest");
92        debug_struct.field("name", &self.name);
93        debug_struct.field("revision_id", &self.revision_id);
94        if !self._unknown_fields.is_empty() {
95            debug_struct.field("_unknown_fields", &self._unknown_fields);
96        }
97        debug_struct.finish()
98    }
99}
100
101impl std::fmt::Debug for super::CreateWorkflowRequest {
102    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103        let mut debug_struct = f.debug_struct("CreateWorkflowRequest");
104        debug_struct.field("parent", &self.parent);
105        debug_struct.field("workflow", &self.workflow);
106        debug_struct.field("workflow_id", &self.workflow_id);
107        if !self._unknown_fields.is_empty() {
108            debug_struct.field("_unknown_fields", &self._unknown_fields);
109        }
110        debug_struct.finish()
111    }
112}
113
114impl std::fmt::Debug for super::DeleteWorkflowRequest {
115    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
116        let mut debug_struct = f.debug_struct("DeleteWorkflowRequest");
117        debug_struct.field("name", &self.name);
118        if !self._unknown_fields.is_empty() {
119            debug_struct.field("_unknown_fields", &self._unknown_fields);
120        }
121        debug_struct.finish()
122    }
123}
124
125impl std::fmt::Debug for super::UpdateWorkflowRequest {
126    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
127        let mut debug_struct = f.debug_struct("UpdateWorkflowRequest");
128        debug_struct.field("workflow", &self.workflow);
129        debug_struct.field("update_mask", &self.update_mask);
130        if !self._unknown_fields.is_empty() {
131            debug_struct.field("_unknown_fields", &self._unknown_fields);
132        }
133        debug_struct.finish()
134    }
135}
136
137impl std::fmt::Debug for super::OperationMetadata {
138    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
139        let mut debug_struct = f.debug_struct("OperationMetadata");
140        debug_struct.field("create_time", &self.create_time);
141        debug_struct.field("end_time", &self.end_time);
142        debug_struct.field("target", &self.target);
143        debug_struct.field("verb", &self.verb);
144        debug_struct.field("api_version", &self.api_version);
145        if !self._unknown_fields.is_empty() {
146            debug_struct.field("_unknown_fields", &self._unknown_fields);
147        }
148        debug_struct.finish()
149    }
150}
151
152impl std::fmt::Debug for super::ListWorkflowRevisionsRequest {
153    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
154        let mut debug_struct = f.debug_struct("ListWorkflowRevisionsRequest");
155        debug_struct.field("name", &self.name);
156        debug_struct.field("page_size", &self.page_size);
157        debug_struct.field("page_token", &self.page_token);
158        if !self._unknown_fields.is_empty() {
159            debug_struct.field("_unknown_fields", &self._unknown_fields);
160        }
161        debug_struct.finish()
162    }
163}
164
165impl std::fmt::Debug for super::ListWorkflowRevisionsResponse {
166    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
167        let mut debug_struct = f.debug_struct("ListWorkflowRevisionsResponse");
168        debug_struct.field("workflows", &self.workflows);
169        debug_struct.field("next_page_token", &self.next_page_token);
170        if !self._unknown_fields.is_empty() {
171            debug_struct.field("_unknown_fields", &self._unknown_fields);
172        }
173        debug_struct.finish()
174    }
175}