pub struct SongMeta {
pub id: Uuid,
pub title: String,
pub artists: Vec<String>,
pub duration: u32,
pub path: PathBuf,
}Fields§
§id: Uuid§title: String§artists: Vec<String>§duration: u32§path: PathBufTrait Implementations§
Source§impl<'de> Deserialize<'de> for SongMeta
impl<'de> Deserialize<'de> for SongMeta
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 Eq for SongMeta
impl StructuralPartialEq for SongMeta
Auto Trait Implementations§
impl Freeze for SongMeta
impl RefUnwindSafe for SongMeta
impl Send for SongMeta
impl Sync for SongMeta
impl Unpin for SongMeta
impl UnwindSafe for SongMeta
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