Struct url::format::UserInfoFormatter
[−]
[src]
pub struct UserInfoFormatter<'a> { pub username: &'a str, pub password: Option<&'a str>, }
Formatter and serializer for URL username and password data.
Fields
username: &'a str
URL username as a string slice.
password: Option<&'a str>
URL password as an optional string slice.
You can convert an Option<String>
with .as_ref().map(|s| s)
.