Struct RequestUri
pub struct RequestUri(pub Uri);
Response [Extensions][http::Extensions] value that represents the effective request URI of
a response returned by a FollowRedirect middleware.
The value differs from the original request's effective URI if the middleware has followed redirections.
Fields
0: Uri
Trait Implementations
impl Clone for RequestUri
fn clone(&self) -> RequestUri
Auto Trait Implementations
impl !Freeze for RequestUri
impl RefUnwindSafe for RequestUri
impl Send for RequestUri
impl Sync for RequestUri
impl Unpin for RequestUri
impl UnsafeUnpin for RequestUri
impl UnwindSafe for RequestUri
Blanket Implementations
impl<T> Any for RequestUri
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RequestUri
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RequestUri
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for RequestUri
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for RequestUri
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for RequestUri
impl<T> PolicyExt for RequestUri
where
T: ?Sized,
fn and<P, B, E>(self, other: P) -> And<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,fn or<P, B, E>(self, other: P) -> Or<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,
impl<T> ToOwned for RequestUri
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> WithSubscriber for RequestUri
impl<T, U> Into<U> for RequestUri
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for RequestUri
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for RequestUri
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>