Struct veilid_tools::SplitUrlPath
source · pub struct SplitUrlPath {
pub path: String,
pub fragment: Option<String>,
pub query: Option<String>,
}
Fields§
§path: String
§fragment: Option<String>
§query: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for SplitUrlPath
impl Clone for SplitUrlPath
source§fn clone(&self) -> SplitUrlPath
fn clone(&self) -> SplitUrlPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SplitUrlPath
impl Debug for SplitUrlPath
source§impl Display for SplitUrlPath
impl Display for SplitUrlPath
source§impl FromStr for SplitUrlPath
impl FromStr for SplitUrlPath
source§impl Hash for SplitUrlPath
impl Hash for SplitUrlPath
source§impl Ord for SplitUrlPath
impl Ord for SplitUrlPath
source§fn cmp(&self, other: &SplitUrlPath) -> Ordering
fn cmp(&self, other: &SplitUrlPath) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SplitUrlPath
impl PartialEq for SplitUrlPath
source§fn eq(&self, other: &SplitUrlPath) -> bool
fn eq(&self, other: &SplitUrlPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SplitUrlPath
impl PartialOrd for SplitUrlPath
source§fn partial_cmp(&self, other: &SplitUrlPath) -> Option<Ordering>
fn partial_cmp(&self, other: &SplitUrlPath) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SplitUrlPath
impl StructuralPartialEq for SplitUrlPath
Auto Trait Implementations§
impl Freeze for SplitUrlPath
impl RefUnwindSafe for SplitUrlPath
impl Send for SplitUrlPath
impl Sync for SplitUrlPath
impl Unpin for SplitUrlPath
impl UnwindSafe for SplitUrlPath
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> CmpAssign for Twhere
T: Ord,
impl<T> CmpAssign for Twhere
T: Ord,
fn min_assign(&mut self, other: T)
fn max_assign(&mut self, other: T)
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more