pub struct SequenceContentItem {
    pub subtype_0: Option<Event>,
    pub subtype_1: Option<SequenceContentItemSubtype1>,
    pub subtype_2: Option<SequenceContentItemSubtype2>,
    pub subtype_3: Option<SequenceContentItemSubtype3>,
}Expand description
SequenceContentItem
JSON schema
{
 "anyOf": [
   {
     "$ref": "#/$defs/event"
   },
   {
     "type": "object",
     "required": [
       "content",
       "type"
     ],
     "properties": {
       "class": {
         "$ref": "#/$defs/style-class"
       },
       "color": {
         "$ref": "#/$defs/color"
       },
       "content": {
         "type": "array",
         "items": {
           "$ref": "#/$defs/event"
         }
       },
       "graceType": {
         "type": "string",
         "enum": [
           "makeTime",
           "stealFollowing",
           "stealPrevious"
         ]
       },
       "slash": {
         "type": "boolean"
       },
       "type": {
         "type": "string",
         "const": "grace"
       }
     },
     "additionalProperties": false
   },
   {
     "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
   },
   {
     "type": "object",
     "required": [
       "duration",
       "type"
     ],
     "properties": {
       "duration": {
         "$ref": "#/$defs/fraction"
       },
       "type": {
         "type": "string",
         "const": "space"
       }
     },
     "additionalProperties": false
   }
 ]
}Fields§
§subtype_0: Option<Event>§subtype_1: Option<SequenceContentItemSubtype1>§subtype_2: Option<SequenceContentItemSubtype2>§subtype_3: Option<SequenceContentItemSubtype3>Implementations§
Source§impl SequenceContentItem
 
impl SequenceContentItem
pub fn builder() -> SequenceContentItem
Trait Implementations§
Source§impl Clone for SequenceContentItem
 
impl Clone for SequenceContentItem
Source§fn clone(&self) -> SequenceContentItem
 
fn clone(&self) -> SequenceContentItem
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 SequenceContentItem
 
impl Debug for SequenceContentItem
Source§impl Default for SequenceContentItem
 
impl Default for SequenceContentItem
Source§impl<'de> Deserialize<'de> for SequenceContentItem
 
impl<'de> Deserialize<'de> for SequenceContentItem
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<&SequenceContentItem> for SequenceContentItem
 
impl From<&SequenceContentItem> for SequenceContentItem
Source§fn from(value: &SequenceContentItem) -> Self
 
fn from(value: &SequenceContentItem) -> Self
Converts to this type from the input type.
Source§impl From<SequenceContentItem> for SequenceContentItem
 
impl From<SequenceContentItem> for SequenceContentItem
Source§fn from(value: SequenceContentItem) -> Self
 
fn from(value: SequenceContentItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for SequenceContentItem
 
impl Serialize for SequenceContentItem
Source§impl TryFrom<SequenceContentItem> for SequenceContentItem
 
impl TryFrom<SequenceContentItem> for SequenceContentItem
Source§type Error = ConversionError
 
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SequenceContentItem) -> Result<Self, ConversionError>
 
fn try_from(value: SequenceContentItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SequenceContentItem
impl RefUnwindSafe for SequenceContentItem
impl Send for SequenceContentItem
impl Sync for SequenceContentItem
impl Unpin for SequenceContentItem
impl UnwindSafe for SequenceContentItem
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