pub struct MusicSection {
pub section_type: String,
pub lyrics: Option<String>,
pub style: Option<String>,
pub style_exclude: Option<String>,
}Expand description
A section within an Eleven Music generation request.
Fields§
§section_type: String§lyrics: Option<String>§style: Option<String>§style_exclude: Option<String>Trait Implementations§
Source§impl Clone for MusicSection
impl Clone for MusicSection
Source§fn clone(&self) -> MusicSection
fn clone(&self) -> MusicSection
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 MusicSection
impl Debug for MusicSection
Source§impl Default for MusicSection
impl Default for MusicSection
Source§fn default() -> MusicSection
fn default() -> MusicSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MusicSection
impl<'de> Deserialize<'de> for MusicSection
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 MusicSection
impl RefUnwindSafe for MusicSection
impl Send for MusicSection
impl Sync for MusicSection
impl Unpin for MusicSection
impl UnsafeUnpin for MusicSection
impl UnwindSafe for MusicSection
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