Skip to main content

Call

Trait Call 

Source
pub trait Call: Request {
    const ENDPOINT: Endpoint;
}
Expand description

A request type of the API with its endpoint.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Call for Geocode

Source§

const ENDPOINT: Endpoint = Endpoint::Geocode

Source§

impl Call for Plan

Source§

const ENDPOINT: Endpoint = Endpoint::Plan

Source§

impl Call for ReverseGeocode

Source§

const ENDPOINT: Endpoint = Endpoint::ReverseGeocode

Source§

impl Call for Stoptimes

Source§

const ENDPOINT: Endpoint = Endpoint::Stoptimes

Source§

impl Call for Trip

Source§

const ENDPOINT: Endpoint = Endpoint::Trip

Implementors§