pub trait Query {
fn endpoint(&self) -> Cow<'static, str>;
fn params(&self) -> QueryParams<'_> { ... }
fn body(&self) -> Result<Option<&'static str>, &'static str> { ... }
}
Required Methods
Provided Methods
fn params(&self) -> QueryParams<'_>
fn params(&self) -> QueryParams<'_>
Optional. Array of key value pairs.