pub struct ResolvedClient {
pub ip: IpAddr,
pub proto: Option<String>,
pub host: Option<String>,
}Expand description
Client identity resolved from TCP peer and (when trusted) proxy headers.
Fields§
§ip: IpAddr§proto: Option<String>§host: Option<String>Trait Implementations§
Source§impl Clone for ResolvedClient
impl Clone for ResolvedClient
Source§impl Debug for ResolvedClient
impl Debug for ResolvedClient
impl Eq for ResolvedClient
Source§impl PartialEq for ResolvedClient
impl PartialEq for ResolvedClient
impl StructuralPartialEq for ResolvedClient
Auto Trait Implementations§
impl Forget for ResolvedClient
impl Freeze for ResolvedClient
impl Move for ResolvedClient
impl RefUnwindSafe for ResolvedClient
impl Send for ResolvedClientwhere
RawVecInner: Send,
impl Sync for ResolvedClientwhere
RawVecInner: Sync,
impl Unpin for ResolvedClient
impl UnsafeUnpin for ResolvedClient
impl UnwindSafe for ResolvedClientwhere
RawVecInner: UnwindSafe,
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