google_maps2 3.5.3

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
//! Transit directions return additional information

use serde::{Deserialize, Serialize};

/// Provides information about the operator of the line.

#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize, Deserialize)]
pub struct TransitAgency {
    /// Contains the name of the transit agency.
    pub name: String,
    /// Contains the phone number of the transit agency.
    pub phone: Option<String>,
    /// Contains the URL for the transit agency.
    pub url: String,
} // struct