pub struct HxRedirect(/* private fields */);
Implementations§
Source§impl HxRedirect
impl HxRedirect
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 HxRedirect
impl Clone for HxRedirect
Source§fn clone(&self) -> HxRedirect
fn clone(&self) -> HxRedirect
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 HxRedirect
impl Debug for HxRedirect
Source§impl Hash for HxRedirect
impl Hash for HxRedirect
Source§impl Header for HxRedirect
impl Header for HxRedirect
Source§impl Ord for HxRedirect
impl Ord for HxRedirect
Source§fn cmp(&self, other: &HxRedirect) -> Ordering
fn cmp(&self, other: &HxRedirect) -> 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 HxRedirect
impl PartialEq for HxRedirect
Source§impl PartialOrd for HxRedirect
impl PartialOrd for HxRedirect
impl Eq for HxRedirect
impl StructuralPartialEq for HxRedirect
Auto Trait Implementations§
impl !Freeze for HxRedirect
impl RefUnwindSafe for HxRedirect
impl Send for HxRedirect
impl Sync for HxRedirect
impl Unpin for HxRedirect
impl UnwindSafe for HxRedirect
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