google_maps 3.9.5

An unofficial Google Maps Platform client library for the Rust programming language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::geolocation::response::error::Error;
use serde::{Deserialize, Serialize};

// -----------------------------------------------------------------------------

#[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Deserialize, Serialize)]
pub struct ErrorObject {
    #[serde(default)]
    pub errors: Vec<Error>,
    pub code: u16,
    pub message: String,
} // struct