pub trait ToQuery {
type Error;
// Required method
fn to_query(&self) -> Result<Cow<'_, str>, Self::Error>;
}
Available on crate features
history
and query
only.Expand description
Type that can be encoded into a query string.