Skip to main content

structure

Function structure 

Source
pub async fn structure(
    drive: &DriveClient,
    sheets: &SheetsClient,
    opts: &StructureOptions,
    rules: &[FolderPermissionRule],
) -> StructureOutcome
Expand description

Runs one structural mutation, logging every attempt that isn’t a dry run.

Never returns Err: every failure is a StructureResult variant, so the caller renders one shape and the log records one shape. Exit code stays 0 regardless, matching ADR-0073 §13.