pub struct SystemLayoutContentItemSourcesItem {
pub label: Option<StaffLabel>,
pub labelref: Option<StaffLabelref>,
pub part: Id,
pub staff: Option<StaffNumber>,
pub stem: Option<StemDirection>,
pub voice: Option<VoiceName>,
}
Expand description
SystemLayoutContentItemSourcesItem
JSON schema
{
"type": "object",
"required": [
"part"
],
"properties": {
"label": {
"$ref": "#/$defs/staff-label"
},
"labelref": {
"$ref": "#/$defs/staff-labelref"
},
"part": {
"$ref": "#/$defs/id"
},
"staff": {
"$ref": "#/$defs/staff-number"
},
"stem": {
"$ref": "#/$defs/stem-direction"
},
"voice": {
"$ref": "#/$defs/voice-name"
}
},
"additionalProperties": false
}
Fields§
§label: Option<StaffLabel>
§labelref: Option<StaffLabelref>
§part: Id
§staff: Option<StaffNumber>
§stem: Option<StemDirection>
§voice: Option<VoiceName>
Trait Implementations§
Source§impl Clone for SystemLayoutContentItemSourcesItem
impl Clone for SystemLayoutContentItemSourcesItem
Source§fn clone(&self) -> SystemLayoutContentItemSourcesItem
fn clone(&self) -> SystemLayoutContentItemSourcesItem
Returns a copy 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<'de> Deserialize<'de> for SystemLayoutContentItemSourcesItem
impl<'de> Deserialize<'de> for SystemLayoutContentItemSourcesItem
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<&SystemLayoutContentItemSourcesItem> for SystemLayoutContentItemSourcesItem
impl From<&SystemLayoutContentItemSourcesItem> for SystemLayoutContentItemSourcesItem
Source§fn from(value: &SystemLayoutContentItemSourcesItem) -> Self
fn from(value: &SystemLayoutContentItemSourcesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SystemLayoutContentItemSourcesItem
impl RefUnwindSafe for SystemLayoutContentItemSourcesItem
impl Send for SystemLayoutContentItemSourcesItem
impl Sync for SystemLayoutContentItemSourcesItem
impl Unpin for SystemLayoutContentItemSourcesItem
impl UnwindSafe for SystemLayoutContentItemSourcesItem
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