fn rename_ops(plan: &Plan) -> (Vec<Op>, ObjectType)
Returns the rename/swap ops for the given Plan, along with the object type.
Plan
Panics if plan is not a supported rename, swap, or ALTER no-op.
plan