google-cloud-oslogin-common 1.5.0

Google Cloud Client Libraries for Rust - Cloud OS Login Common Types
Documentation
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by sidekick. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;

impl std::fmt::Debug for super::PosixAccount {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("PosixAccount");
        debug_struct.field("primary", &self.primary);
        debug_struct.field("username", &self.username);
        debug_struct.field("uid", &self.uid);
        debug_struct.field("gid", &self.gid);
        debug_struct.field("home_directory", &self.home_directory);
        debug_struct.field("shell", &self.shell);
        debug_struct.field("gecos", &self.gecos);
        debug_struct.field("system_id", &self.system_id);
        debug_struct.field("account_id", &self.account_id);
        debug_struct.field("operating_system_type", &self.operating_system_type);
        debug_struct.field("name", &self.name);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::SshPublicKey {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("SshPublicKey");
        debug_struct.field("key", &self.key);
        debug_struct.field("expiration_time_usec", &self.expiration_time_usec);
        debug_struct.field("fingerprint", &self.fingerprint);
        debug_struct.field("name", &self.name);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}