Skip to main content

BorrowedQuerySetup

Type Alias BorrowedQuerySetup 

Source
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

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