pub struct DidlLite {
pub items: Vec<DidlItem>,
}Expand description
DIDL-Lite root structure for media metadata.
DIDL-Lite format example:
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" ...>
<item id="-1" parentID="-1">
<dc:title>Song Title</dc:title>
<dc:creator>Artist Name</dc:creator>
<upnp:album>Album Name</upnp:album>
<res duration="0:03:58">uri</res>
</item>
</DIDL-Lite>Fields§
§items: Vec<DidlItem>The item elements containing track metadata
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DidlLite
impl<'de> Deserialize<'de> for DidlLite
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 DidlLite
Auto Trait Implementations§
impl Freeze for DidlLite
impl RefUnwindSafe for DidlLite
impl Send for DidlLite
impl Sync for DidlLite
impl Unpin for DidlLite
impl UnsafeUnpin for DidlLite
impl UnwindSafe for DidlLite
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