#[non_exhaustive]pub struct TtmTextElement {
pub xml_id: Option<String>,
pub xml_lang: Option<String>,
pub xml_space: Option<XmlSpace>,
pub condition: Option<String>,
pub text: String,
}Expand description
A text-only metadata element (ttm:title, ttm:desc, ttm:copyright).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.xml_id: Option<String>XML id.
xml_lang: Option<String>XML language.
xml_space: Option<XmlSpace>XML space.
condition: Option<String>condition expression.
text: StringText content.
Trait Implementations§
Source§impl Clone for TtmTextElement
impl Clone for TtmTextElement
Source§fn clone(&self) -> TtmTextElement
fn clone(&self) -> TtmTextElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TtmTextElement
impl Debug for TtmTextElement
Source§impl Default for TtmTextElement
impl Default for TtmTextElement
Source§fn default() -> TtmTextElement
fn default() -> TtmTextElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for TtmTextElement
impl PartialEq for TtmTextElement
impl StructuralPartialEq for TtmTextElement
Auto Trait Implementations§
impl Freeze for TtmTextElement
impl RefUnwindSafe for TtmTextElement
impl Send for TtmTextElement
impl Sync for TtmTextElement
impl Unpin for TtmTextElement
impl UnsafeUnpin for TtmTextElement
impl UnwindSafe for TtmTextElement
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