pub struct OpenGraphMusic {
pub album: Option<OpenGraphAlbum>,
pub creators: Option<Vec<String>>,
pub duration: Option<i64>,
pub musicians: Option<Vec<String>>,
pub release_date: Option<DateTime<Utc>>,
pub songs: Option<Vec<OpenGraphSong>>,
pub extra: Map<String, Value>,
}Fields§
§album: Option<OpenGraphAlbum>§creators: Option<Vec<String>>The creators of the music.
duration: Option<i64>The duration of the music in seconds.
musicians: Option<Vec<String>>The musicians involved in the music.
release_date: Option<DateTime<Utc>>The release date of the music.
songs: Option<Vec<OpenGraphSong>>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for OpenGraphMusic
impl Clone for OpenGraphMusic
Source§impl Debug for OpenGraphMusic
impl Debug for OpenGraphMusic
Source§impl Default for OpenGraphMusic
impl Default for OpenGraphMusic
Source§impl<'de> Deserialize<'de> for OpenGraphMusic
impl<'de> Deserialize<'de> for OpenGraphMusic
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
Source§impl PartialEq for OpenGraphMusic
impl PartialEq for OpenGraphMusic
Source§impl Serialize for OpenGraphMusic
impl Serialize for OpenGraphMusic
impl StructuralPartialEq for OpenGraphMusic
Auto Trait Implementations§
impl Freeze for OpenGraphMusic
impl RefUnwindSafe for OpenGraphMusic
impl Send for OpenGraphMusic
impl Sync for OpenGraphMusic
impl Unpin for OpenGraphMusic
impl UnsafeUnpin for OpenGraphMusic
impl UnwindSafe for OpenGraphMusic
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