Function extract_user_id
Source fn extract_user_id(user: &User) -> Result<String, String>
Expand description
Extracts the user ID as a string from the User struct
§Arguments
user - The User struct from which to extract the ID
§Returns
Ok(String) - The user ID as a string if extraction is successful
Err(String) - An error message if the ID format is invalid