pub struct ArrangementCreate {
pub beat: Option<Option<String>>,
pub description: Option<Option<String>>,
pub duration: Option<Option<i64>>,
pub key: Option<Option<String>>,
pub name: String,
pub source_id: Option<Option<i64>>,
pub source_reference: Option<Option<String>>,
pub tempo: Option<Option<i64>>,
pub file_ids: Option<Vec<i64>>,
pub is_default: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
A new musical version of a song, optionally assigning existing files.
Fields§
§beat: Option<Option<String>>Free-text time signature, such as 4/4 or 6/8.
None leaves the field out, Some(None) sends null.
description: Option<Option<String>>Notes about performing this arrangement.
None leaves the field out, Some(None) sends null.
duration: Option<Option<i64>>Expected duration in seconds.
None leaves the field out, Some(None) sends null.
key: Option<Option<String>>Musical key using the API spelling.
Allowed values: A, A#, A#m, Ab, Abm, Am, B, B#, B#m, Bb, Bbm, Bm, C, C#, C#m, Cb, Cbm, Cm, D, D#, D#m, Db, Dbm, Dm, E, E#, E#m, Eb, Ebm, Em, ….
None leaves the field out, Some(None) sends null.
name: StringName distinguishing this version from other arrangements.
source_id: Option<Option<i64>>ID of a song source, such as a hymnal or songbook, from GET /song/sources.
None leaves the field out, Some(None) sends null.
source_reference: Option<Option<String>>Location within the selected source, such as a song number or page. Only used with sourceId.
None leaves the field out, Some(None) sends null.
tempo: Option<Option<i64>>Tempo in beats per minute.
None leaves the field out, Some(None) sends null.
file_ids: Option<Vec<i64>>IDs of existing files to assign to the arrangement.
is_default: Option<bool>true makes this the song’s only default arrangement. The first arrangement of a song becomes the default regardless of this value.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.