pub struct ForwardedForAddrs(pub Vec<Addressable>);Expand description
A list of Addressable items used in the x-forwarded-for header field
See Addressable for more details, especially why we cannot simply use IPv4/IPv6 only.
Tuple Fields§
§0: Vec<Addressable>Trait Implementations§
Source§impl Clone for ForwardedForAddrs
impl Clone for ForwardedForAddrs
Source§fn clone(&self) -> ForwardedForAddrs
fn clone(&self) -> ForwardedForAddrs
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 ForwardedForAddrs
impl Debug for ForwardedForAddrs
Source§impl FromStr for ForwardedForAddrs
impl FromStr for ForwardedForAddrs
Source§impl PartialEq for ForwardedForAddrs
impl PartialEq for ForwardedForAddrs
Source§impl TryFrom<&str> for ForwardedForAddrs
impl TryFrom<&str> for ForwardedForAddrs
impl StructuralPartialEq for ForwardedForAddrs
Auto Trait Implementations§
impl Freeze for ForwardedForAddrs
impl RefUnwindSafe for ForwardedForAddrs
impl Send for ForwardedForAddrs
impl Sync for ForwardedForAddrs
impl Unpin for ForwardedForAddrs
impl UnwindSafe for ForwardedForAddrs
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