pub fn rename(name: impl Into<String>, spec: impl Into<Spec>) -> Node
Rename the property after validation. For object children only.