#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::FallbackInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("FallbackInfo");
debug_struct.field("routing_mode", &self.routing_mode);
debug_struct.field("reason", &self.reason);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GeocodingResults {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GeocodingResults");
debug_struct.field("origin", &self.origin);
debug_struct.field("destination", &self.destination);
debug_struct.field("intermediates", &self.intermediates);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GeocodedWaypoint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GeocodedWaypoint");
debug_struct.field("geocoder_status", &self.geocoder_status);
debug_struct.field(
"intermediate_waypoint_request_index",
&self.intermediate_waypoint_request_index,
);
debug_struct.field("r#type", &self.r#type);
debug_struct.field("partial_match", &self.partial_match);
debug_struct.field("place_id", &self.place_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocalizedTime {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocalizedTime");
debug_struct.field("time", &self.time);
debug_struct.field("time_zone", &self.time_zone);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Location {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Location");
debug_struct.field("lat_lng", &self.lat_lng);
debug_struct.field("heading", &self.heading);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::NavigationInstruction {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("NavigationInstruction");
debug_struct.field("maneuver", &self.maneuver);
debug_struct.field("instructions", &self.instructions);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Polyline {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Polyline");
debug_struct.field("polyline_type", &self.polyline_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PolylineDetails {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PolylineDetails");
debug_struct.field("tunnel_info", &self.tunnel_info);
debug_struct.field("flyover_info", &self.flyover_info);
debug_struct.field("narrow_road_info", &self.narrow_road_info);
debug_struct.field("bridge_info", &self.bridge_info);
debug_struct.field("skyway_info", &self.skyway_info);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::PolylinePointIndex {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PolylinePointIndex");
debug_struct.field("start_index", &self.start_index);
debug_struct.field("end_index", &self.end_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::TunnelInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TunnelInfo");
debug_struct.field("tunnel_presence", &self.tunnel_presence);
debug_struct.field("polyline_point_index", &self.polyline_point_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::BridgeInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BridgeInfo");
debug_struct.field("bridge_presence", &self.bridge_presence);
debug_struct.field("polyline_point_index", &self.polyline_point_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::SkywayInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SkywayInfo");
debug_struct.field("skyway_presence", &self.skyway_presence);
debug_struct.field("polyline_point_index", &self.polyline_point_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::FlyoverInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("FlyoverInfo");
debug_struct.field("flyover_presence", &self.flyover_presence);
debug_struct.field("polyline_point_index", &self.polyline_point_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::polyline_details::NarrowRoadInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("NarrowRoadInfo");
debug_struct.field("narrow_road_presence", &self.narrow_road_presence);
debug_struct.field("polyline_point_index", &self.polyline_point_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Route {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Route");
debug_struct.field("route_labels", &self.route_labels);
debug_struct.field("legs", &self.legs);
debug_struct.field("distance_meters", &self.distance_meters);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("polyline", &self.polyline);
debug_struct.field("description", &self.description);
debug_struct.field("warnings", &self.warnings);
debug_struct.field("viewport", &self.viewport);
debug_struct.field("travel_advisory", &self.travel_advisory);
debug_struct.field(
"optimized_intermediate_waypoint_index",
&self.optimized_intermediate_waypoint_index,
);
debug_struct.field("localized_values", &self.localized_values);
debug_struct.field("route_token", &self.route_token);
debug_struct.field("polyline_details", &self.polyline_details);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route::RouteLocalizedValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLocalizedValues");
debug_struct.field("distance", &self.distance);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("transit_fare", &self.transit_fare);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteTravelAdvisory {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteTravelAdvisory");
debug_struct.field("toll_info", &self.toll_info);
debug_struct.field("speed_reading_intervals", &self.speed_reading_intervals);
debug_struct.field(
"fuel_consumption_microliters",
&self.fuel_consumption_microliters,
);
debug_struct.field(
"route_restrictions_partially_ignored",
&self.route_restrictions_partially_ignored,
);
debug_struct.field("transit_fare", &self.transit_fare);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteLegTravelAdvisory {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegTravelAdvisory");
debug_struct.field("toll_info", &self.toll_info);
debug_struct.field("speed_reading_intervals", &self.speed_reading_intervals);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteLegStepTravelAdvisory {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegStepTravelAdvisory");
debug_struct.field("speed_reading_intervals", &self.speed_reading_intervals);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteLeg {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLeg");
debug_struct.field("distance_meters", &self.distance_meters);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("polyline", &self.polyline);
debug_struct.field("start_location", &self.start_location);
debug_struct.field("end_location", &self.end_location);
debug_struct.field("steps", &self.steps);
debug_struct.field("travel_advisory", &self.travel_advisory);
debug_struct.field("localized_values", &self.localized_values);
debug_struct.field("steps_overview", &self.steps_overview);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg::RouteLegLocalizedValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegLocalizedValues");
debug_struct.field("distance", &self.distance);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg::StepsOverview {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("StepsOverview");
debug_struct.field("multi_modal_segments", &self.multi_modal_segments);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg::steps_overview::MultiModalSegment {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("MultiModalSegment");
debug_struct.field("step_start_index", &self.step_start_index);
debug_struct.field("step_end_index", &self.step_end_index);
debug_struct.field("navigation_instruction", &self.navigation_instruction);
debug_struct.field("travel_mode", &self.travel_mode);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteLegStep {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegStep");
debug_struct.field("distance_meters", &self.distance_meters);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("polyline", &self.polyline);
debug_struct.field("start_location", &self.start_location);
debug_struct.field("end_location", &self.end_location);
debug_struct.field("navigation_instruction", &self.navigation_instruction);
debug_struct.field("travel_advisory", &self.travel_advisory);
debug_struct.field("localized_values", &self.localized_values);
debug_struct.field("transit_details", &self.transit_details);
debug_struct.field("travel_mode", &self.travel_mode);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg_step::RouteLegStepLocalizedValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegStepLocalizedValues");
debug_struct.field("distance", &self.distance);
debug_struct.field("static_duration", &self.static_duration);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteLegStepTransitDetails {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteLegStepTransitDetails");
debug_struct.field("stop_details", &self.stop_details);
debug_struct.field("localized_values", &self.localized_values);
debug_struct.field("headsign", &self.headsign);
debug_struct.field("headway", &self.headway);
debug_struct.field("transit_line", &self.transit_line);
debug_struct.field("stop_count", &self.stop_count);
debug_struct.field("trip_short_text", &self.trip_short_text);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg_step_transit_details::TransitStopDetails {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitStopDetails");
debug_struct.field("arrival_stop", &self.arrival_stop);
debug_struct.field("arrival_time", &self.arrival_time);
debug_struct.field("departure_stop", &self.departure_stop);
debug_struct.field("departure_time", &self.departure_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_leg_step_transit_details::TransitDetailsLocalizedValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitDetailsLocalizedValues");
debug_struct.field("arrival_time", &self.arrival_time);
debug_struct.field("departure_time", &self.departure_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteModifiers {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteModifiers");
debug_struct.field("avoid_tolls", &self.avoid_tolls);
debug_struct.field("avoid_highways", &self.avoid_highways);
debug_struct.field("avoid_ferries", &self.avoid_ferries);
debug_struct.field("avoid_indoor", &self.avoid_indoor);
debug_struct.field("vehicle_info", &self.vehicle_info);
debug_struct.field("toll_passes", &self.toll_passes);
debug_struct.field("avoid_tunnels", &self.avoid_tunnels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ComputeRoutesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ComputeRoutesRequest");
debug_struct.field("origin", &self.origin);
debug_struct.field("destination", &self.destination);
debug_struct.field("intermediates", &self.intermediates);
debug_struct.field("travel_mode", &self.travel_mode);
debug_struct.field("routing_preference", &self.routing_preference);
debug_struct.field("polyline_quality", &self.polyline_quality);
debug_struct.field("polyline_encoding", &self.polyline_encoding);
debug_struct.field("departure_time", &self.departure_time);
debug_struct.field("arrival_time", &self.arrival_time);
debug_struct.field(
"compute_alternative_routes",
&self.compute_alternative_routes,
);
debug_struct.field("route_modifiers", &self.route_modifiers);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("region_code", &self.region_code);
debug_struct.field("units", &self.units);
debug_struct.field("optimize_waypoint_order", &self.optimize_waypoint_order);
debug_struct.field(
"requested_reference_routes",
&self.requested_reference_routes,
);
debug_struct.field("extra_computations", &self.extra_computations);
debug_struct.field("traffic_model", &self.traffic_model);
debug_struct.field("transit_preferences", &self.transit_preferences);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ComputeRoutesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ComputeRoutesResponse");
debug_struct.field("routes", &self.routes);
debug_struct.field("fallback_info", &self.fallback_info);
debug_struct.field("geocoding_results", &self.geocoding_results);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ComputeRouteMatrixRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ComputeRouteMatrixRequest");
debug_struct.field("origins", &self.origins);
debug_struct.field("destinations", &self.destinations);
debug_struct.field("travel_mode", &self.travel_mode);
debug_struct.field("routing_preference", &self.routing_preference);
debug_struct.field("departure_time", &self.departure_time);
debug_struct.field("arrival_time", &self.arrival_time);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("region_code", &self.region_code);
debug_struct.field("units", &self.units);
debug_struct.field("extra_computations", &self.extra_computations);
debug_struct.field("traffic_model", &self.traffic_model);
debug_struct.field("transit_preferences", &self.transit_preferences);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteMatrixOrigin {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteMatrixOrigin");
debug_struct.field("waypoint", &self.waypoint);
debug_struct.field("route_modifiers", &self.route_modifiers);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteMatrixDestination {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteMatrixDestination");
debug_struct.field("waypoint", &self.waypoint);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RouteMatrixElement {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RouteMatrixElement");
debug_struct.field("origin_index", &self.origin_index);
debug_struct.field("destination_index", &self.destination_index);
debug_struct.field("status", &self.status);
debug_struct.field("condition", &self.condition);
debug_struct.field("distance_meters", &self.distance_meters);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("travel_advisory", &self.travel_advisory);
debug_struct.field("fallback_info", &self.fallback_info);
debug_struct.field("localized_values", &self.localized_values);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::route_matrix_element::LocalizedValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocalizedValues");
debug_struct.field("distance", &self.distance);
debug_struct.field("duration", &self.duration);
debug_struct.field("static_duration", &self.static_duration);
debug_struct.field("transit_fare", &self.transit_fare);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SpeedReadingInterval {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SpeedReadingInterval");
debug_struct.field(
"start_polyline_point_index",
&self.start_polyline_point_index,
);
debug_struct.field("end_polyline_point_index", &self.end_polyline_point_index);
debug_struct.field("speed_type", &self.speed_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TollInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TollInfo");
debug_struct.field("estimated_price", &self.estimated_price);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TransitAgency {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitAgency");
debug_struct.field("name", &self.name);
debug_struct.field("phone_number", &self.phone_number);
debug_struct.field("uri", &self.uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TransitLine {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitLine");
debug_struct.field("agencies", &self.agencies);
debug_struct.field("name", &self.name);
debug_struct.field("uri", &self.uri);
debug_struct.field("color", &self.color);
debug_struct.field("icon_uri", &self.icon_uri);
debug_struct.field("name_short", &self.name_short);
debug_struct.field("text_color", &self.text_color);
debug_struct.field("vehicle", &self.vehicle);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TransitStop {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitStop");
debug_struct.field("name", &self.name);
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::TransitVehicle {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitVehicle");
debug_struct.field("name", &self.name);
debug_struct.field("r#type", &self.r#type);
debug_struct.field("icon_uri", &self.icon_uri);
debug_struct.field("local_icon_uri", &self.local_icon_uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TransitPreferences {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TransitPreferences");
debug_struct.field("allowed_travel_modes", &self.allowed_travel_modes);
debug_struct.field("routing_preference", &self.routing_preference);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::VehicleInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VehicleInfo");
debug_struct.field("emission_type", &self.emission_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Waypoint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Waypoint");
debug_struct.field("via", &self.via);
debug_struct.field("vehicle_stopover", &self.vehicle_stopover);
debug_struct.field("side_of_road", &self.side_of_road);
debug_struct.field("location_type", &self.location_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}