#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Color {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Color");
debug_struct.field("red", &self.red);
debug_struct.field("green", &self.green);
debug_struct.field("blue", &self.blue);
debug_struct.field("alpha", &self.alpha);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Date {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Date");
debug_struct.field("year", &self.year);
debug_struct.field("month", &self.month);
debug_struct.field("day", &self.day);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DateTime {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DateTime");
debug_struct.field("year", &self.year);
debug_struct.field("month", &self.month);
debug_struct.field("day", &self.day);
debug_struct.field("hours", &self.hours);
debug_struct.field("minutes", &self.minutes);
debug_struct.field("seconds", &self.seconds);
debug_struct.field("nanos", &self.nanos);
debug_struct.field("time_offset", &self.time_offset);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TimeZone {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TimeZone");
debug_struct.field("id", &self.id);
debug_struct.field("version", &self.version);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Decimal {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Decimal");
debug_struct.field("value", &self.value);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Expr {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Expr");
debug_struct.field("expression", &self.expression);
debug_struct.field("title", &self.title);
debug_struct.field("description", &self.description);
debug_struct.field("location", &self.location);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Fraction {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Fraction");
debug_struct.field("numerator", &self.numerator);
debug_struct.field("denominator", &self.denominator);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Interval {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Interval");
debug_struct.field("start_time", &self.start_time);
debug_struct.field("end_time", &self.end_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LatLng {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LatLng");
debug_struct.field("latitude", &self.latitude);
debug_struct.field("longitude", &self.longitude);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocalizedText {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocalizedText");
debug_struct.field("text", &self.text);
debug_struct.field("language_code", &self.language_code);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Money {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Money");
debug_struct.field("currency_code", &self.currency_code);
debug_struct.field("units", &self.units);
debug_struct.field("nanos", &self.nanos);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PhoneNumber {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PhoneNumber");
debug_struct.field("extension", &self.extension);
debug_struct.field("kind", &self.kind);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::phone_number::ShortCode {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ShortCode");
debug_struct.field("region_code", &self.region_code);
debug_struct.field("number", &self.number);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PostalAddress {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PostalAddress");
debug_struct.field("revision", &self.revision);
debug_struct.field("region_code", &self.region_code);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("postal_code", &self.postal_code);
debug_struct.field("sorting_code", &self.sorting_code);
debug_struct.field("administrative_area", &self.administrative_area);
debug_struct.field("locality", &self.locality);
debug_struct.field("sublocality", &self.sublocality);
debug_struct.field("address_lines", &self.address_lines);
debug_struct.field("recipients", &self.recipients);
debug_struct.field("organization", &self.organization);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Quaternion {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Quaternion");
debug_struct.field("x", &self.x);
debug_struct.field("y", &self.y);
debug_struct.field("z", &self.z);
debug_struct.field("w", &self.w);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TimeOfDay {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TimeOfDay");
debug_struct.field("hours", &self.hours);
debug_struct.field("minutes", &self.minutes);
debug_struct.field("seconds", &self.seconds);
debug_struct.field("nanos", &self.nanos);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}