pub struct EventLyrics {
pub lines: HashMap<EventLyricsLinesKey, EventLyricsLinesValue>,
}Expand description
EventLyrics
JSON schema
{
"type": "object",
"properties": {
"lines": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"$ref": "#/$defs/string"
},
"type": {
"type": "string",
"enum": [
"start",
"middle",
"end",
"whole"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}Fields§
§lines: HashMap<EventLyricsLinesKey, EventLyricsLinesValue>Implementations§
Source§impl EventLyrics
impl EventLyrics
pub fn builder() -> EventLyrics
Trait Implementations§
Source§impl Clone for EventLyrics
impl Clone for EventLyrics
Source§fn clone(&self) -> EventLyrics
fn clone(&self) -> EventLyrics
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 EventLyrics
impl Debug for EventLyrics
Source§impl Default for EventLyrics
impl Default for EventLyrics
Source§impl<'de> Deserialize<'de> for EventLyrics
impl<'de> Deserialize<'de> for EventLyrics
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<&EventLyrics> for EventLyrics
impl From<&EventLyrics> for EventLyrics
Source§fn from(value: &EventLyrics) -> Self
fn from(value: &EventLyrics) -> Self
Converts to this type from the input type.
Source§impl From<EventLyrics> for EventLyrics
impl From<EventLyrics> for EventLyrics
Source§fn from(value: EventLyrics) -> Self
fn from(value: EventLyrics) -> Self
Converts to this type from the input type.
Source§impl Serialize for EventLyrics
impl Serialize for EventLyrics
Source§impl TryFrom<EventLyrics> for EventLyrics
impl TryFrom<EventLyrics> for EventLyrics
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EventLyrics) -> Result<Self, ConversionError>
fn try_from(value: EventLyrics) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EventLyrics
impl RefUnwindSafe for EventLyrics
impl Send for EventLyrics
impl Sync for EventLyrics
impl Unpin for EventLyrics
impl UnwindSafe for EventLyrics
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