Skip to main content

CrossrefRoute

Trait CrossrefRoute 

Source
pub trait CrossrefRoute {
    // Required method
    fn route(&self) -> Result<String>;
}
Expand description

represents elements that constructs parts of the crossref request url

Required Methods§

Source

fn route(&self) -> Result<String>

constructs the route for the crossref api

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: CrossrefQueryParam> CrossrefRoute for dyn AsRef<[T]>

Implementors§