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