pub struct ResolvedClientIp {
pub ip: IpAddr,
pub source: IpSource,
}Expand description
Result of resolution: the chosen IP and how it was obtained.
Fields§
§ip: IpAddr§source: IpSourceTrait Implementations§
Source§impl Clone for ResolvedClientIp
impl Clone for ResolvedClientIp
Source§fn clone(&self) -> ResolvedClientIp
fn clone(&self) -> ResolvedClientIp
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 moreimpl Copy for ResolvedClientIp
Source§impl Debug for ResolvedClientIp
impl Debug for ResolvedClientIp
impl Eq for ResolvedClientIp
Source§impl PartialEq for ResolvedClientIp
impl PartialEq for ResolvedClientIp
Source§fn eq(&self, other: &ResolvedClientIp) -> bool
fn eq(&self, other: &ResolvedClientIp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedClientIp
Auto Trait Implementations§
impl Freeze for ResolvedClientIp
impl RefUnwindSafe for ResolvedClientIp
impl Send for ResolvedClientIp
impl Sync for ResolvedClientIp
impl Unpin for ResolvedClientIp
impl UnsafeUnpin for ResolvedClientIp
impl UnwindSafe for ResolvedClientIp
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