pub fn structure(
scope: Scope<'_>,
containers: &[(String, ObjType)],
) -> Result<Change, AutomergeError>Expand description
The derived founding of the record scope names, whose fields keep their items in the
containers named at its root. A kind that keeps none founds with a change that holds nothing:
every record has its founding as its first head, so a record nothing was written to yet is kept
and read back like any other, and what follows the founding names it as its dependency.
§Errors
When a container cannot be put at the root under its field’s name (an empty name).