pub struct RouteSegment {
pub value: String,
}Expand description
A normalized route segment.
Fields§
§value: StringTrait Implementations§
Source§impl Clone for RouteSegment
impl Clone for RouteSegment
Source§fn clone(&self) -> RouteSegment
fn clone(&self) -> RouteSegment
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 moreSource§impl Debug for RouteSegment
impl Debug for RouteSegment
Source§impl PartialEq for RouteSegment
impl PartialEq for RouteSegment
Source§fn eq(&self, other: &RouteSegment) -> bool
fn eq(&self, other: &RouteSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RouteSegment
impl StructuralPartialEq for RouteSegment
Auto Trait Implementations§
impl Freeze for RouteSegment
impl RefUnwindSafe for RouteSegment
impl Send for RouteSegment
impl Sync for RouteSegment
impl Unpin for RouteSegment
impl UnsafeUnpin for RouteSegment
impl UnwindSafe for RouteSegment
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