pub fn from_password(login_id: &str, password: &str) -> Self {
        Self {
            login_id: Some(login_id.to_owned()),
            password: Some(password.to_owned()),
            token: None,
        }
    }
/// Create a struct instance from a user's login_id and password.
Create a struct instance from a user's login_id and password.
Create a struct instance from a user ' s login_id and password .
pub fn from_password(login_id: &str, password: &str) -> Self {
        Self {
            login_id: Some(login_id.to_owned()),
            password: Some(password.to_owned()),
            token: None,
        }
    }
pub fn from_password ( login_id : & str , password : & str ) -> Self { Self { login_id : Some ( login_id . to_owned ( ) ) , password : Some ( password . to_owned ( ) ) , token : None , } }
Create a struct instance from a user's login_id and password.
Create a struct instance from a user ' s login_id and password .
login_id
&str
password
&str
login_id
&str
password
&str