The eight-glasses rule is one of those pieces of advice that arrived so early in life it stopped feeling like advice and started feeling like biology. But the body does not distinguish between water sipped from a glass and water that arrived inside a slice of cucumber. It absorbs both the same way, through the same lining, into the same bloodstream.
What changes is where the water comes from, and that source is far more varied than most people account for when they worry about whether they have drunk enough today.