Trait UserTrait
Source pub trait UserTrait {
// Required method
fn get_user_info_by_id(&self, user_id: String) -> Result<Value, String>;
}
Get user information by user ID
§Parameters
user_id - The ID of the user
§Returns
Result<serde_json::Value, String> - A JSON value containing the user information or an error message