pub struct NativeRequest<'a> {
pub request: Option<&'a AuthRequest>,
pub headers: Option<&'a HashMap<String, String>>,
}Expand description
Original native Request and separately supplied endpoint headers.
Fields§
§request: Option<&'a AuthRequest>§headers: Option<&'a HashMap<String, String>>Trait Implementations§
Source§impl<'a> Clone for NativeRequest<'a>
impl<'a> Clone for NativeRequest<'a>
Source§fn clone(&self) -> NativeRequest<'a>
fn clone(&self) -> NativeRequest<'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 moreimpl<'a> Copy for NativeRequest<'a>
Source§impl<'a> Default for NativeRequest<'a>
impl<'a> Default for NativeRequest<'a>
Source§fn default() -> NativeRequest<'a>
fn default() -> NativeRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NativeRequest<'a>
impl<'a> !UnwindSafe for NativeRequest<'a>
impl<'a> Freeze for NativeRequest<'a>
impl<'a> Send for NativeRequest<'a>
impl<'a> Sync for NativeRequest<'a>
impl<'a> Unpin for NativeRequest<'a>
impl<'a> UnsafeUnpin for NativeRequest<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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