From the Diesel documentation I can see that it is possible to retrieve all the children of a selected parent using the belonging_to method: https://docs.diesel.rs/diesel/associations/index.html
In the example, the first Post of the User is retrieved using belonging_to:
let user = users.find(2).get_result::<User>(&connection)?;
let users_post = Post::belonging_to(&user)
.first(&connection)?;
I would like to know if Diesel offers the possibility to obtain the parent from the child (in the example, the User from the Post). It would even better to insert the User in a variable of the Post struct.