pub fn username(&self) -> Option<&str> {
        self.username
            .as_ref()
            .map(String::as_str)
            .or(Some(self.id()))
    }
/// A username for the user.
///
/// This value may be the same as `id` for services that do not distinguish between ID and
/// username.
A username for the user.
This value may be the same as `id` for services that do not distinguish between ID and
username.
A username for the user . This value may be the same as ` id ` for services that do not distinguish between ID and username .
pub fn username(&self) -> Option<&str> {
        self.username
            .as_ref()
            .map(String::as_str)
            .or(Some(self.id()))
    }
pub fn username ( & self ) -> Option < & str > { self . username . as_ref ( ) . map ( String :: as_str ) . or ( Some ( self . id ( ) ) ) }
A username for the user.
A username for the user .
&self
&self