musicxml/elements/
player.rs1use super::PlayerName;
2use crate::datatypes::Id;
3use alloc::{string::String, vec::Vec};
4use musicxml_internal::*;
5use musicxml_macros::*;
6
7#[derive(Debug, PartialEq, Eq, AttributeDeserialize, AttributeSerialize)]
9pub struct PlayerAttributes {
10 pub id: Id,
12}
13
14#[derive(Debug, PartialEq, Eq, ContentDeserialize, ContentSerialize)]
16pub struct PlayerContents {
17 pub player_name: PlayerName,
19}
20
21#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
25pub struct Player {
26 pub attributes: PlayerAttributes,
28 #[flatten]
29 pub content: PlayerContents,
31}