pub struct Stanza {
pub lang: Option<LanguageTag>,
pub title: Option<Title>,
pub subtitle: Option<Paragraph>,
pub lines: Vec<Paragraph>,
}Expand description
Each poem should have at least one stanza. Stanzas are usually separated with empty lines by user agents.
Fields§
§lang: Option<LanguageTag>§title: Option<Title>§subtitle: Option<Paragraph>§lines: Vec<Paragraph>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stanza
impl<'de> Deserialize<'de> for Stanza
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
impl StructuralPartialEq for Stanza
Auto Trait Implementations§
impl Freeze for Stanza
impl RefUnwindSafe for Stanza
impl Send for Stanza
impl Sync for Stanza
impl Unpin for Stanza
impl UnwindSafe for Stanza
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