pub fn new(username: String) -> Self {
        Client {
            client: reqwest::Client::builder()
                .referer(false)
                .cookie_store(true)
                .build()
                .unwrap(),
            username: username,
            logged: false,
        }
    }
/// create a new client with given username.
///
/// always use this to create a client
///
/// for requests you don't need to be logged in to do, username will not be used
create a new client with given username.
always use this to create a client

for requests you don't need to be logged in to do, username will not be used
create a new client with given username . always use this to create a client for requests you don ' t need to be logged in to do username will not be used
pub fn new(username: String) -> Self {
        Client {
            client: reqwest::Client::builder()
                .referer(false)
                .cookie_store(true)
                .build()
                .unwrap(),
            username: username,
            logged: false,
        }
    }
pub fn new ( username : String ) -> Self { Client { client : reqwest :: Client :: builder ( ) . referer ( false ) . cookie_store ( true ) . build ( ) . unwrap ( ) , username : username , logged : false , } }
create a new client with given username.
create a new client with given username .
username
String
username
String