pub trait CrossrefQueryParam {
// Required methods
fn param_key(&self) -> Cow<'_, str>;
fn param_value(&self) -> Option<Cow<'_, str>>;
// Provided method
fn param(&self) -> Cow<'_, str> { ... }
}Expand description
a trait used to capture parameters for the query string of the crossref api
Required Methods§
Sourcefn param_value(&self) -> Option<Cow<'_, str>>
fn param_value(&self) -> Option<Cow<'_, str>>
the value of the parameter, if any
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".