pub(crate) type BorrowedQuerySetup<'a, EP> = QuerySetup<EP, &'a Url, &'a <EP as EndpointDetails>::RequestType, &'a HashMap<&'static str, Cow<'a, str>>, &'a HeaderValue>;Expand description
Result of QuerySetup::borrow, used by QuerySetup::with_retry.
Aliased Type§
pub(crate) struct BorrowedQuerySetup<'a, EP> {
client: Client,
phantom_ep: PhantomData<EP>,
url: &'a Url,
request: &'a <EP as EndpointDetails>::RequestType,
path_params: &'a HashMap<&'static str, Cow<'a, str>>,
auth_header: Option<&'a HeaderValue>,
timeout: Option<Duration>,
quiet: bool,
}Fields§
§client: Client§phantom_ep: PhantomData<EP>§url: &'a Url§request: &'a <EP as EndpointDetails>::RequestType§path_params: &'a HashMap<&'static str, Cow<'a, str>>§auth_header: Option<&'a HeaderValue>§timeout: Option<Duration>§quiet: bool