Options passed to Project::load_profile: a ProfileQuery and an optional expected baseline token. LoadProfileOptions has no Default. Build it from a query with From<ProfileQuery> (query.into()), or as a struct literal when baseline_id is set.
Date range, resources, basis and task lists the profile covers.
baseline_id
Option<String>
None
Expected baseline token. Some makes the call fail with ProjectError::StaleBaseline unless it names the current baseline. Take it from the latest ScheduleResult's baseline_id. None skips the check.