pub struct HxReplaceUrl(/* private fields */);
Implementations§
Source§impl HxReplaceUrl
impl HxReplaceUrl
pub fn as_str(&self) -> &str
pub fn into_value(self) -> HeaderValue
pub fn from_str(s: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for HxReplaceUrl
impl Clone for HxReplaceUrl
Source§fn clone(&self) -> HxReplaceUrl
fn clone(&self) -> HxReplaceUrl
Returns a duplicate 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 HxReplaceUrl
impl Debug for HxReplaceUrl
Source§impl Hash for HxReplaceUrl
impl Hash for HxReplaceUrl
Source§impl Header for HxReplaceUrl
impl Header for HxReplaceUrl
Source§impl Ord for HxReplaceUrl
impl Ord for HxReplaceUrl
Source§fn cmp(&self, other: &HxReplaceUrl) -> Ordering
fn cmp(&self, other: &HxReplaceUrl) -> 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 HxReplaceUrl
impl PartialEq for HxReplaceUrl
Source§impl PartialOrd for HxReplaceUrl
impl PartialOrd for HxReplaceUrl
impl Eq for HxReplaceUrl
impl StructuralPartialEq for HxReplaceUrl
Auto Trait Implementations§
impl !Freeze for HxReplaceUrl
impl RefUnwindSafe for HxReplaceUrl
impl Send for HxReplaceUrl
impl Sync for HxReplaceUrl
impl Unpin for HxReplaceUrl
impl UnwindSafe for HxReplaceUrl
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