usecrate::network::responses::*;/// Creates an internal page link in Gemtext for the given user page.
pubfnuser_link(usr:&User)-> String{// Replace newlines with a space
let username:&String=&usr.login
.trim().replace("\n","");// Replace space with "_"
let username_link:String= username
.replace("","_");// Create Gemini link
returnformat!("=> /{username_link}{username}");}