Skip to main content

parse

Function parse 

Source
pub fn parse(body: &str) -> Option<Account>
Expand description

Read one account’s answer.

None when the body is not this endpoint’s - an error page, a login wall, a truncated read. A response that cannot be recognised is reported as nothing rather than as an account with no usage, which would read as “all clear”.