Function account
Source pub fn account() -> Result<Option<String>>
Expand description
Login of the GitHub account the user is signed in as.
§Returns
The login, or None if not signed in.
§Errors
Returns an error if the keyring can’t be read, or the login can’t be asked to GitHub.