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
13
14
15
//! Contains information about the stop/station for this part of the trip.

use crate::types::LatLng;
use serde::{Deserialize, Serialize};

/// Contains information about the stop/station for this part of the trip.

#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize, Deserialize)]
pub struct TransitStop {
    /// The name of the transit station/stop. eg. "Union Square".
    pub name: String,
    /// The location of the transit station/stop, represented as a `lat` and
    /// `lng` field.
    pub location: LatLng,
} // struct