Function medal::core::edit_profile

source ยท
pub fn edit_profile<T: MedalConnection>(
    conn: &T,
    session_token: &str,
    user_id: Option<i32>,
    csrf_token: &str,
    (firstname, lastname, street, zip, city, password, password_repeat, grade, sex): (String, String, Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, i32, Option<i32>),
) -> Result<ProfileStatus, MedalError>