Struct imessage_database::message_types::music::MusicMessage
source · pub struct MusicMessage<'a> {
pub url: Option<&'a str>,
pub preview: Option<&'a str>,
pub artist: Option<&'a str>,
pub album: Option<&'a str>,
pub track_name: Option<&'a str>,
}Expand description
This struct is not documented by Apple, but represents messages displayed as
com.apple.messages.URLBalloonProvider but from the Music app
Fields§
§url: Option<&'a str>URL in Apple Music
preview: Option<&'a str>URL pointing to the track preview stream
artist: Option<&'a str>Artist name
album: Option<&'a str>Album name
track_name: Option<&'a str>Track name
Trait Implementations§
source§impl<'a> BalloonProvider<'a> for MusicMessage<'a>
impl<'a> BalloonProvider<'a> for MusicMessage<'a>
source§impl<'a> Debug for MusicMessage<'a>
impl<'a> Debug for MusicMessage<'a>
source§impl<'a> PartialEq<MusicMessage<'a>> for MusicMessage<'a>
impl<'a> PartialEq<MusicMessage<'a>> for MusicMessage<'a>
source§fn eq(&self, other: &MusicMessage<'a>) -> bool
fn eq(&self, other: &MusicMessage<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for MusicMessage<'a>
impl<'a> StructuralEq for MusicMessage<'a>
impl<'a> StructuralPartialEq for MusicMessage<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MusicMessage<'a>
impl<'a> Send for MusicMessage<'a>
impl<'a> Sync for MusicMessage<'a>
impl<'a> Unpin for MusicMessage<'a>
impl<'a> UnwindSafe for MusicMessage<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.