A queuing discipline that is specified directly inside another queuing discipline (e.g. ingress or egress), without a class between them, implies creation of an unnumbered, parameter-less class, which then contains that queuing discipline.
egress { red ...; }
is equivalent to
egress { class { red ... } }
Note that the latter form is now deprecated.