pub struct MnxDocumentScoresItem {
pub layout: Option<Id>,
pub multimeasure_rests: Vec<MnxDocumentScoresItemMultimeasureRestsItem>,
pub name: String,
pub pages: Vec<MnxDocumentScoresItemPagesItem>,
}Expand description
MnxDocumentScoresItem
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"layout": {
"$ref": "#/$defs/id"
},
"multimeasureRests": {
"type": "array",
"items": {
"type": "object",
"required": [
"duration",
"start"
],
"properties": {
"duration": {
"type": "integer"
},
"label": {
"$ref": "#/$defs/string"
},
"start": {
"$ref": "#/$defs/measure-number"
}
},
"additionalProperties": false
}
},
"name": {
"type": "string"
},
"pages": {
"type": "array",
"items": {
"type": "object",
"required": [
"systems"
],
"properties": {
"layout": {
"$ref": "#/$defs/id"
},
"systems": {
"type": "array",
"items": {
"type": "object",
"required": [
"measure"
],
"properties": {
"layout": {
"$ref": "#/$defs/id"
},
"layoutChanges": {
"type": "array",
"items": {
"type": "object",
"required": [
"layout",
"location"
],
"properties": {
"layout": {
"$ref": "#/$defs/id"
},
"location": {
"$ref": "#/$defs/measure-rhythmic-position"
}
},
"additionalProperties": false
}
},
"measure": {
"$ref": "#/$defs/measure-number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}Fields§
§layout: Option<Id>§multimeasure_rests: Vec<MnxDocumentScoresItemMultimeasureRestsItem>§name: String§pages: Vec<MnxDocumentScoresItemPagesItem>Implementations§
Source§impl MnxDocumentScoresItem
impl MnxDocumentScoresItem
pub fn builder() -> MnxDocumentScoresItem
Trait Implementations§
Source§impl Clone for MnxDocumentScoresItem
impl Clone for MnxDocumentScoresItem
Source§fn clone(&self) -> MnxDocumentScoresItem
fn clone(&self) -> MnxDocumentScoresItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MnxDocumentScoresItem
impl Debug for MnxDocumentScoresItem
Source§impl<'de> Deserialize<'de> for MnxDocumentScoresItem
impl<'de> Deserialize<'de> for MnxDocumentScoresItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MnxDocumentScoresItem> for MnxDocumentScoresItem
impl From<&MnxDocumentScoresItem> for MnxDocumentScoresItem
Source§fn from(value: &MnxDocumentScoresItem) -> Self
fn from(value: &MnxDocumentScoresItem) -> Self
Converts to this type from the input type.
Source§impl From<MnxDocumentScoresItem> for MnxDocumentScoresItem
impl From<MnxDocumentScoresItem> for MnxDocumentScoresItem
Source§fn from(value: MnxDocumentScoresItem) -> Self
fn from(value: MnxDocumentScoresItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for MnxDocumentScoresItem
impl Serialize for MnxDocumentScoresItem
Source§impl TryFrom<MnxDocumentScoresItem> for MnxDocumentScoresItem
impl TryFrom<MnxDocumentScoresItem> for MnxDocumentScoresItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MnxDocumentScoresItem) -> Result<Self, ConversionError>
fn try_from(value: MnxDocumentScoresItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MnxDocumentScoresItem
impl RefUnwindSafe for MnxDocumentScoresItem
impl Send for MnxDocumentScoresItem
impl Sync for MnxDocumentScoresItem
impl Unpin for MnxDocumentScoresItem
impl UnwindSafe for MnxDocumentScoresItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more