pub struct Audio {
pub id: i64,
pub owner_id: i64,
pub artist: String,
pub title: String,
pub duration: i32,
pub url: Option<String>,
pub date: i64,
pub album_id: Option<i64>,
pub genre_id: Option<i64>,
}Expand description
Audio attachment
Fields§
§id: i64Audio ID
owner_id: i64Owner ID
artist: StringArtist
title: StringTitle
duration: i32Duration
url: Option<String>URL
date: i64Date
album_id: Option<i64>Album ID
genre_id: Option<i64>Genre ID
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Audio
impl<'de> Deserialize<'de> for Audio
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
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
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