pub struct SequenceContentItemSubtype1 {
pub class: Option<StyleClass>,
pub color: Option<Color>,
pub content: Vec<Event>,
pub grace_type: Option<SequenceContentItemSubtype1GraceType>,
pub slash: Option<bool>,
pub type_: String,
}Expand description
SequenceContentItemSubtype1
JSON schema
{
"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
}Fields§
§class: Option<StyleClass>§color: Option<Color>§content: Vec<Event>§grace_type: Option<SequenceContentItemSubtype1GraceType>§slash: Option<bool>§type_: StringImplementations§
Trait Implementations§
Source§impl Clone for SequenceContentItemSubtype1
impl Clone for SequenceContentItemSubtype1
Source§fn clone(&self) -> SequenceContentItemSubtype1
fn clone(&self) -> SequenceContentItemSubtype1
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 SequenceContentItemSubtype1
impl Debug for SequenceContentItemSubtype1
Source§impl<'de> Deserialize<'de> for SequenceContentItemSubtype1
impl<'de> Deserialize<'de> for SequenceContentItemSubtype1
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<&SequenceContentItemSubtype1> for SequenceContentItemSubtype1
impl From<&SequenceContentItemSubtype1> for SequenceContentItemSubtype1
Source§fn from(value: &SequenceContentItemSubtype1) -> Self
fn from(value: &SequenceContentItemSubtype1) -> Self
Converts to this type from the input type.
Source§impl From<SequenceContentItemSubtype1> for SequenceContentItemSubtype1
impl From<SequenceContentItemSubtype1> for SequenceContentItemSubtype1
Source§fn from(value: SequenceContentItemSubtype1) -> Self
fn from(value: SequenceContentItemSubtype1) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SequenceContentItemSubtype1> for SequenceContentItemSubtype1
impl TryFrom<SequenceContentItemSubtype1> for SequenceContentItemSubtype1
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SequenceContentItemSubtype1) -> Result<Self, ConversionError>
fn try_from(value: SequenceContentItemSubtype1) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SequenceContentItemSubtype1
impl RefUnwindSafe for SequenceContentItemSubtype1
impl Send for SequenceContentItemSubtype1
impl Sync for SequenceContentItemSubtype1
impl Unpin for SequenceContentItemSubtype1
impl UnwindSafe for SequenceContentItemSubtype1
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