pub struct ImportOptions {
pub project_key: String,
pub key_prefix: Option<String>,
pub match_existing_by: Option<ExistingMatch>,
pub keep_existing_priority: bool,
pub time_zone: Option<String>,
}Expand description
Where imported work goes and how new work is keyed.
Fields§
§project_key: StringExisting project that receives the imported work.
key_prefix: Option<String>Prefix for keys of new work (PREFIX-UID); defaults to the project key. A document without
any GUID requires it: it names the source, and GUID-less identities derive from it.
match_existing_by: Option<ExistingMatch>How a task without a GUID may match existing work in the target project; None never
matches, so such a task always maps to its derived identity.
keep_existing_priority: boolKeep the local priority of existing work whatever the source says, and report the source value instead. OmniPlan rescales priorities by the highest one in the document, so an unedited round trip without a P0 raises every band.
time_zone: Option<String>IANA time zone in which the document’s calendars are read; MSPDI carries none. Without it calendars are not imported and working-time values are approximated as elapsed hours.