Trait ToQuery
pub trait ToQuery {
type Error;
// Required method
fn to_query(&self) -> Result<Cow<'_, str>, Self::Error>;
}
Expand description
Type that can be encoded into a query string.
Required Associated Types§
type Error
type Error
Error that can be returned from the conversion.