#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Policy {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Policy");
debug_struct.field("version", &self.version);
debug_struct.field("constraint", &self.constraint);
debug_struct.field("etag", &self.etag);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("policy_type", &self.policy_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::policy::ListPolicy {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListPolicy");
debug_struct.field("allowed_values", &self.allowed_values);
debug_struct.field("denied_values", &self.denied_values);
debug_struct.field("all_values", &self.all_values);
debug_struct.field("suggested_value", &self.suggested_value);
debug_struct.field("inherit_from_parent", &self.inherit_from_parent);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::policy::BooleanPolicy {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BooleanPolicy");
debug_struct.field("enforced", &self.enforced);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::policy::RestoreDefault {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RestoreDefault");
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}