Complements variant serialize_with and closes #1013.
As discussed in #1013, serialize_with functions attached to variants receive an argument for each inner value contained within the variant. Internally such a function is wired up to the serializer as if the variant were a newtype variant.
The docs have been using "container" for a long time.