pub struct CreditType {
pub attributes: (),
pub content: String,
}Expand description
The CreditType element indicates the purpose behind a credit.
Multiple types of data may be combined in a single credit, so multiple elements may be used. Standard values include:
- page number
- title
- subtitle
- composer
- arranger
- lyricist
- rights
- part name
Other values may also be used.
Fields§
§attributes: ()Element-specific attributes
content: StringElement-specific content
Trait Implementations§
Source§impl Debug for CreditType
impl Debug for CreditType
Source§impl ElementDeserializer for CreditType
impl ElementDeserializer for CreditType
fn deserialize(element: &XmlElement) -> Result<CreditType, String>
Source§impl ElementSerializer for CreditType
impl ElementSerializer for CreditType
fn serialize(element: &CreditType) -> XmlElement
Source§impl PartialEq for CreditType
impl PartialEq for CreditType
impl Eq for CreditType
impl StructuralPartialEq for CreditType
Auto Trait Implementations§
impl Freeze for CreditType
impl RefUnwindSafe for CreditType
impl Send for CreditType
impl Sync for CreditType
impl Unpin for CreditType
impl UnwindSafe for CreditType
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