Didn't see anything in the article, assumed query composition wasn't possible. I don't see anything offhand in the Diesel docs, are there examples that illustrate composition along the lines of the above?
Until you do something to cause the query to be evaluated, it's a value like any other, and you can combine them together however you want.