#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::DeliveryVehicleAttribute {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeliveryVehicleAttribute");
debug_struct.field("key", &self.key);
debug_struct.field("value", &self.value);
debug_struct.field(
"delivery_vehicle_attribute_value",
&self.delivery_vehicle_attribute_value,
);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeliveryVehicleLocation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeliveryVehicleLocation");
debug_struct.field("location", &self.location);
debug_struct.field("horizontal_accuracy", &self.horizontal_accuracy);
debug_struct.field("latlng_accuracy", &self.latlng_accuracy);
debug_struct.field("heading", &self.heading);
debug_struct.field("bearing_accuracy", &self.bearing_accuracy);
debug_struct.field("heading_accuracy", &self.heading_accuracy);
debug_struct.field("altitude", &self.altitude);
debug_struct.field("vertical_accuracy", &self.vertical_accuracy);
debug_struct.field("altitude_accuracy", &self.altitude_accuracy);
debug_struct.field("speed_kmph", &self.speed_kmph);
debug_struct.field("speed", &self.speed);
debug_struct.field("speed_accuracy", &self.speed_accuracy);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("server_time", &self.server_time);
debug_struct.field("location_sensor", &self.location_sensor);
debug_struct.field("is_road_snapped", &self.is_road_snapped);
debug_struct.field("is_gps_sensor_enabled", &self.is_gps_sensor_enabled);
debug_struct.field("time_since_update", &self.time_since_update);
debug_struct.field("num_stale_updates", &self.num_stale_updates);
debug_struct.field("raw_location", &self.raw_location);
debug_struct.field("raw_location_time", &self.raw_location_time);
debug_struct.field("raw_location_sensor", &self.raw_location_sensor);
debug_struct.field("raw_location_accuracy", &self.raw_location_accuracy);
debug_struct.field("flp_location", &self.flp_location);
debug_struct.field("flp_update_time", &self.flp_update_time);
debug_struct.field(
"flp_latlng_accuracy_meters",
&self.flp_latlng_accuracy_meters,
);
debug_struct.field("flp_heading_degrees", &self.flp_heading_degrees);
debug_struct.field("supplemental_location", &self.supplemental_location);
debug_struct.field(
"supplemental_location_time",
&self.supplemental_location_time,
);
debug_struct.field(
"supplemental_location_sensor",
&self.supplemental_location_sensor,
);
debug_struct.field(
"supplemental_location_accuracy",
&self.supplemental_location_accuracy,
);
debug_struct.field("road_snapped", &self.road_snapped);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TimeWindow {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TimeWindow");
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::TaskAttribute {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TaskAttribute");
debug_struct.field("key", &self.key);
debug_struct.field("task_attribute_value", &self.task_attribute_value);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateDeliveryVehicleRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateDeliveryVehicleRequest");
debug_struct.field("header", &self.header);
debug_struct.field("parent", &self.parent);
debug_struct.field("delivery_vehicle_id", &self.delivery_vehicle_id);
debug_struct.field("delivery_vehicle", &self.delivery_vehicle);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetDeliveryVehicleRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetDeliveryVehicleRequest");
debug_struct.field("header", &self.header);
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::DeleteDeliveryVehicleRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteDeliveryVehicleRequest");
debug_struct.field("header", &self.header);
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::ListDeliveryVehiclesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListDeliveryVehiclesRequest");
debug_struct.field("header", &self.header);
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("filter", &self.filter);
debug_struct.field("viewport", &self.viewport);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListDeliveryVehiclesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListDeliveryVehiclesResponse");
debug_struct.field("delivery_vehicles", &self.delivery_vehicles);
debug_struct.field("next_page_token", &self.next_page_token);
debug_struct.field("total_size", &self.total_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateDeliveryVehicleRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateDeliveryVehicleRequest");
debug_struct.field("header", &self.header);
debug_struct.field("delivery_vehicle", &self.delivery_vehicle);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchCreateTasksRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchCreateTasksRequest");
debug_struct.field("header", &self.header);
debug_struct.field("parent", &self.parent);
debug_struct.field("requests", &self.requests);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchCreateTasksResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchCreateTasksResponse");
debug_struct.field("tasks", &self.tasks);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateTaskRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateTaskRequest");
debug_struct.field("header", &self.header);
debug_struct.field("parent", &self.parent);
debug_struct.field("task_id", &self.task_id);
debug_struct.field("task", &self.task);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetTaskRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetTaskRequest");
debug_struct.field("header", &self.header);
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::DeleteTaskRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteTaskRequest");
debug_struct.field("header", &self.header);
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::UpdateTaskRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateTaskRequest");
debug_struct.field("header", &self.header);
debug_struct.field("task", &self.task);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListTasksRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListTasksRequest");
debug_struct.field("header", &self.header);
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("filter", &self.filter);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListTasksResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListTasksResponse");
debug_struct.field("tasks", &self.tasks);
debug_struct.field("next_page_token", &self.next_page_token);
debug_struct.field("total_size", &self.total_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetTaskTrackingInfoRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetTaskTrackingInfoRequest");
debug_struct.field("header", &self.header);
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::DeliveryVehicle {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeliveryVehicle");
debug_struct.field("name", &self.name);
debug_struct.field("last_location", &self.last_location);
debug_struct.field("past_locations", &self.past_locations);
debug_struct.field("navigation_status", &self.navigation_status);
debug_struct.field("current_route_segment", &self.current_route_segment);
debug_struct.field(
"current_route_segment_end_point",
&self.current_route_segment_end_point,
);
debug_struct.field("remaining_distance_meters", &self.remaining_distance_meters);
debug_struct.field("remaining_duration", &self.remaining_duration);
debug_struct.field(
"remaining_vehicle_journey_segments",
&self.remaining_vehicle_journey_segments,
);
debug_struct.field("attributes", &self.attributes);
debug_struct.field("r#type", &self.r#type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocationInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocationInfo");
debug_struct.field("point", &self.point);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::VehicleJourneySegment {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VehicleJourneySegment");
debug_struct.field("stop", &self.stop);
debug_struct.field("driving_distance_meters", &self.driving_distance_meters);
debug_struct.field("driving_duration", &self.driving_duration);
debug_struct.field("path", &self.path);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::VehicleStop {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VehicleStop");
debug_struct.field("planned_location", &self.planned_location);
debug_struct.field("tasks", &self.tasks);
debug_struct.field("state", &self.state);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::vehicle_stop::TaskInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TaskInfo");
debug_struct.field("task_id", &self.task_id);
debug_struct.field("task_duration", &self.task_duration);
debug_struct.field("target_time_window", &self.target_time_window);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeliveryRequestHeader {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeliveryRequestHeader");
debug_struct.field("language_code", &self.language_code);
debug_struct.field("region_code", &self.region_code);
debug_struct.field("sdk_version", &self.sdk_version);
debug_struct.field("os_version", &self.os_version);
debug_struct.field("device_model", &self.device_model);
debug_struct.field("sdk_type", &self.sdk_type);
debug_struct.field("maps_sdk_version", &self.maps_sdk_version);
debug_struct.field("nav_sdk_version", &self.nav_sdk_version);
debug_struct.field("platform", &self.platform);
debug_struct.field("manufacturer", &self.manufacturer);
debug_struct.field("android_api_level", &self.android_api_level);
debug_struct.field("trace_id", &self.trace_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TaskTrackingInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TaskTrackingInfo");
debug_struct.field("name", &self.name);
debug_struct.field("tracking_id", &self.tracking_id);
debug_struct.field("vehicle_location", &self.vehicle_location);
debug_struct.field("route_polyline_points", &self.route_polyline_points);
debug_struct.field("remaining_stop_count", &self.remaining_stop_count);
debug_struct.field(
"remaining_driving_distance_meters",
&self.remaining_driving_distance_meters,
);
debug_struct.field("estimated_arrival_time", &self.estimated_arrival_time);
debug_struct.field(
"estimated_task_completion_time",
&self.estimated_task_completion_time,
);
debug_struct.field("state", &self.state);
debug_struct.field("task_outcome", &self.task_outcome);
debug_struct.field("task_outcome_time", &self.task_outcome_time);
debug_struct.field("planned_location", &self.planned_location);
debug_struct.field("target_time_window", &self.target_time_window);
debug_struct.field("attributes", &self.attributes);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Task {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Task");
debug_struct.field("name", &self.name);
debug_struct.field("r#type", &self.r#type);
debug_struct.field("state", &self.state);
debug_struct.field("task_outcome", &self.task_outcome);
debug_struct.field("task_outcome_time", &self.task_outcome_time);
debug_struct.field("task_outcome_location", &self.task_outcome_location);
debug_struct.field(
"task_outcome_location_source",
&self.task_outcome_location_source,
);
debug_struct.field("tracking_id", &self.tracking_id);
debug_struct.field("delivery_vehicle_id", &self.delivery_vehicle_id);
debug_struct.field("planned_location", &self.planned_location);
debug_struct.field("task_duration", &self.task_duration);
debug_struct.field("target_time_window", &self.target_time_window);
debug_struct.field("journey_sharing_info", &self.journey_sharing_info);
debug_struct.field("task_tracking_view_config", &self.task_tracking_view_config);
debug_struct.field("attributes", &self.attributes);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::task::JourneySharingInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("JourneySharingInfo");
debug_struct.field(
"remaining_vehicle_journey_segments",
&self.remaining_vehicle_journey_segments,
);
debug_struct.field("last_location", &self.last_location);
debug_struct.field("last_location_snappable", &self.last_location_snappable);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TaskTrackingViewConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TaskTrackingViewConfig");
debug_struct.field(
"route_polyline_points_visibility",
&self.route_polyline_points_visibility,
);
debug_struct.field(
"estimated_arrival_time_visibility",
&self.estimated_arrival_time_visibility,
);
debug_struct.field(
"estimated_task_completion_time_visibility",
&self.estimated_task_completion_time_visibility,
);
debug_struct.field(
"remaining_driving_distance_visibility",
&self.remaining_driving_distance_visibility,
);
debug_struct.field(
"remaining_stop_count_visibility",
&self.remaining_stop_count_visibility,
);
debug_struct.field(
"vehicle_location_visibility",
&self.vehicle_location_visibility,
);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::task_tracking_view_config::VisibilityOption {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VisibilityOption");
debug_struct.field("visibility_option", &self.visibility_option);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}