pub struct SequenceContentItemSubtype2 {
pub bracket: Option<SequenceContentItemSubtype2Bracket>,
pub content: SequenceContent,
pub inner: NoteValueQuantity,
pub orient: Option<Orientation>,
pub outer: NoteValueQuantity,
pub show_number: Option<TupletDisplaySetting>,
pub show_value: Option<TupletDisplaySetting>,
pub staff: Option<StaffNumber>,
pub type_: String,
}Expand description
SequenceContentItemSubtype2
JSON schema
{
"type": "object",
"required": [
"content",
"inner",
"outer",
"type"
],
"properties": {
"bracket": {
"type": "string",
"enum": [
"yes",
"no",
"auto"
]
},
"content": {
"$ref": "#/$defs/sequence-content"
},
"inner": {
"$ref": "#/$defs/note-value-quantity"
},
"orient": {
"$ref": "#/$defs/orientation"
},
"outer": {
"$ref": "#/$defs/note-value-quantity"
},
"showNumber": {
"$ref": "#/$defs/tuplet-display-setting"
},
"showValue": {
"$ref": "#/$defs/tuplet-display-setting"
},
"staff": {
"$ref": "#/$defs/staff-number"
},
"type": {
"type": "string",
"const": "tuplet"
}
},
"additionalProperties": false
}Fields§
§bracket: Option<SequenceContentItemSubtype2Bracket>§content: SequenceContent§inner: NoteValueQuantity§orient: Option<Orientation>§outer: NoteValueQuantity§show_number: Option<TupletDisplaySetting>§show_value: Option<TupletDisplaySetting>§staff: Option<StaffNumber>§type_: StringImplementations§
Trait Implementations§
Source§impl Clone for SequenceContentItemSubtype2
impl Clone for SequenceContentItemSubtype2
Source§fn clone(&self) -> SequenceContentItemSubtype2
fn clone(&self) -> SequenceContentItemSubtype2
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 SequenceContentItemSubtype2
impl Debug for SequenceContentItemSubtype2
Source§impl<'de> Deserialize<'de> for SequenceContentItemSubtype2
impl<'de> Deserialize<'de> for SequenceContentItemSubtype2
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<&SequenceContentItemSubtype2> for SequenceContentItemSubtype2
impl From<&SequenceContentItemSubtype2> for SequenceContentItemSubtype2
Source§fn from(value: &SequenceContentItemSubtype2) -> Self
fn from(value: &SequenceContentItemSubtype2) -> Self
Converts to this type from the input type.
Source§impl From<SequenceContentItemSubtype2> for SequenceContentItemSubtype2
impl From<SequenceContentItemSubtype2> for SequenceContentItemSubtype2
Source§fn from(value: SequenceContentItemSubtype2) -> Self
fn from(value: SequenceContentItemSubtype2) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SequenceContentItemSubtype2> for SequenceContentItemSubtype2
impl TryFrom<SequenceContentItemSubtype2> for SequenceContentItemSubtype2
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SequenceContentItemSubtype2) -> Result<Self, ConversionError>
fn try_from(value: SequenceContentItemSubtype2) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SequenceContentItemSubtype2
impl RefUnwindSafe for SequenceContentItemSubtype2
impl Send for SequenceContentItemSubtype2
impl Sync for SequenceContentItemSubtype2
impl Unpin for SequenceContentItemSubtype2
impl UnwindSafe for SequenceContentItemSubtype2
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