pub struct ProbeHttpRequest<'a> {
pub endpoint: &'a str,
pub endpoint_parts: UrlParts,
pub path: &'a str,
pub headers: Vec<(String, String)>,
pub timeout: Duration,
pub max_response_bytes: usize,
}Expand description
HTTP GET request issued by a provider probe.
Fields§
§endpoint: &'a strBase endpoint string from the provider config.
endpoint_parts: UrlPartsParsed base endpoint.
path: &'a strProvider-specific model-list path.
headers: Vec<(String, String)>Provider-specific headers, including authentication when configured.
timeout: DurationSocket read/write timeout.
max_response_bytes: usizeMaximum response body bytes to decode.
Trait Implementations§
Source§impl<'a> Clone for ProbeHttpRequest<'a>
impl<'a> Clone for ProbeHttpRequest<'a>
Source§fn clone(&self) -> ProbeHttpRequest<'a>
fn clone(&self) -> ProbeHttpRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ProbeHttpRequest<'a>
impl<'a> Debug for ProbeHttpRequest<'a>
impl<'a> Eq for ProbeHttpRequest<'a>
Source§impl<'a> PartialEq for ProbeHttpRequest<'a>
impl<'a> PartialEq for ProbeHttpRequest<'a>
impl<'a> StructuralPartialEq for ProbeHttpRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProbeHttpRequest<'a>
impl<'a> RefUnwindSafe for ProbeHttpRequest<'a>
impl<'a> Send for ProbeHttpRequest<'a>
impl<'a> Sync for ProbeHttpRequest<'a>
impl<'a> Unpin for ProbeHttpRequest<'a>
impl<'a> UnsafeUnpin for ProbeHttpRequest<'a>
impl<'a> UnwindSafe for ProbeHttpRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more