pub struct ProviderResponse {
pub status: u16,
pub headers: IndexMap<String, String>,
}Expand description
A provider’s answer, before its body is read.
Fields§
§status: u16The HTTP status.
headers: IndexMap<String, String>The response headers.
Trait Implementations§
Source§impl Clone for ProviderResponse
impl Clone for ProviderResponse
Source§impl Debug for ProviderResponse
impl Debug for ProviderResponse
impl Eq for ProviderResponse
Source§impl PartialEq for ProviderResponse
impl PartialEq for ProviderResponse
impl StructuralPartialEq for ProviderResponse
Auto Trait Implementations§
impl Forget for ProviderResponse
impl Freeze for ProviderResponse
impl RefUnwindSafe for ProviderResponse
impl Send for ProviderResponse
impl Sync for ProviderResponse
impl Unpin for ProviderResponse
impl UnsafeUnpin for ProviderResponse
impl UnwindSafe for ProviderResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.