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