Struct Parts
struct Parts { ... }
The various parts of a URI.
This struct is used to provide to and retrieve from a URI.
Fields
scheme: Option<Scheme>The scheme component of a URI
authority: Option<Authority>The authority component of a URI
path_and_query: Option<PathAndQuery>The origin-form component of a URI
Implementations
impl Debug for Parts
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Default for Parts
fn default() -> Parts
impl Freeze for Parts
impl From for Parts
fn from(src: Uri) -> Self
impl RefUnwindSafe for Parts
impl Send for Parts
impl Sync for Parts
impl Unpin for Parts
impl UnwindSafe for Parts
impl<T> Any for Parts
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Parts
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Parts
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Parts
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Parts
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Parts
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Parts
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>