Struct forwarded_header_value::ForwardedStanza [−][src]
pub struct ForwardedStanza { pub forwarded_by: Option<Identifier>, pub forwarded_for: Option<Identifier>, pub forwarded_host: Option<String>, pub forwarded_proto: Option<Protocol>, }
Expand description
A single forwarded-for line; there may be a sequence of these in a Forwarded header.
Any parts not specified will be None
Fields
forwarded_by: Option<Identifier>
forwarded_for: Option<Identifier>
forwarded_host: Option<String>
forwarded_proto: Option<Protocol>
Implementations
Get the forwarded-for IP, if one is present
Get the forwarded-by IP, if one is present
Trait Implementations
Returns the “default value” for a type. Read more