Skip to main content

google_cloud_oslogin_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::LoginProfile {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("LoginProfile");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("posix_accounts", &self.posix_accounts);
25        debug_struct.field("ssh_public_keys", &self.ssh_public_keys);
26        if !self._unknown_fields.is_empty() {
27            debug_struct.field("_unknown_fields", &self._unknown_fields);
28        }
29        debug_struct.finish()
30    }
31}
32
33impl std::fmt::Debug for super::CreateSshPublicKeyRequest {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        let mut debug_struct = f.debug_struct("CreateSshPublicKeyRequest");
36        debug_struct.field("parent", &self.parent);
37        debug_struct.field("ssh_public_key", &self.ssh_public_key);
38        if !self._unknown_fields.is_empty() {
39            debug_struct.field("_unknown_fields", &self._unknown_fields);
40        }
41        debug_struct.finish()
42    }
43}
44
45impl std::fmt::Debug for super::DeletePosixAccountRequest {
46    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47        let mut debug_struct = f.debug_struct("DeletePosixAccountRequest");
48        debug_struct.field("name", &self.name);
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::DeleteSshPublicKeyRequest {
57    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58        let mut debug_struct = f.debug_struct("DeleteSshPublicKeyRequest");
59        debug_struct.field("name", &self.name);
60        if !self._unknown_fields.is_empty() {
61            debug_struct.field("_unknown_fields", &self._unknown_fields);
62        }
63        debug_struct.finish()
64    }
65}
66
67impl std::fmt::Debug for super::GetLoginProfileRequest {
68    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
69        let mut debug_struct = f.debug_struct("GetLoginProfileRequest");
70        debug_struct.field("name", &self.name);
71        debug_struct.field("project_id", &self.project_id);
72        debug_struct.field("system_id", &self.system_id);
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::GetSshPublicKeyRequest {
81    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82        let mut debug_struct = f.debug_struct("GetSshPublicKeyRequest");
83        debug_struct.field("name", &self.name);
84        if !self._unknown_fields.is_empty() {
85            debug_struct.field("_unknown_fields", &self._unknown_fields);
86        }
87        debug_struct.finish()
88    }
89}
90
91impl std::fmt::Debug for super::ImportSshPublicKeyRequest {
92    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
93        let mut debug_struct = f.debug_struct("ImportSshPublicKeyRequest");
94        debug_struct.field("parent", &self.parent);
95        debug_struct.field("ssh_public_key", &self.ssh_public_key);
96        debug_struct.field("project_id", &self.project_id);
97        debug_struct.field("regions", &self.regions);
98        if !self._unknown_fields.is_empty() {
99            debug_struct.field("_unknown_fields", &self._unknown_fields);
100        }
101        debug_struct.finish()
102    }
103}
104
105impl std::fmt::Debug for super::ImportSshPublicKeyResponse {
106    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107        let mut debug_struct = f.debug_struct("ImportSshPublicKeyResponse");
108        debug_struct.field("login_profile", &self.login_profile);
109        debug_struct.field("details", &self.details);
110        if !self._unknown_fields.is_empty() {
111            debug_struct.field("_unknown_fields", &self._unknown_fields);
112        }
113        debug_struct.finish()
114    }
115}
116
117impl std::fmt::Debug for super::UpdateSshPublicKeyRequest {
118    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
119        let mut debug_struct = f.debug_struct("UpdateSshPublicKeyRequest");
120        debug_struct.field("name", &self.name);
121        debug_struct.field("ssh_public_key", &self.ssh_public_key);
122        debug_struct.field("update_mask", &self.update_mask);
123        if !self._unknown_fields.is_empty() {
124            debug_struct.field("_unknown_fields", &self._unknown_fields);
125        }
126        debug_struct.finish()
127    }
128}