pub struct LyricLine {
pub start: Option<i64>,
pub text: Option<String>,
}
Expand description
Lyric model.
JSON schema
{
"description": "Lyric model.",
"type": "object",
"properties": {
"Start": {
"description": "Gets the start time in ticks.",
"type": [
"integer",
"null"
],
"format": "int64"
},
"Text": {
"description": "Gets the text of this lyric line.",
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§start: Option<i64>
Gets the start time in ticks.
text: Option<String>
Gets the text of this lyric line.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LyricLine
impl<'de> Deserialize<'de> for LyricLine
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
Auto Trait Implementations§
impl Freeze for LyricLine
impl RefUnwindSafe for LyricLine
impl Send for LyricLine
impl Sync for LyricLine
impl Unpin for LyricLine
impl UnwindSafe for LyricLine
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