[−][src]Struct lastfm_parse_rs::structs::track::ScrobbleTrack
Fields
artist: String
track: String
timestamp_utc: UnixTimestamp
album: Option<String>
track_number: Option<u32>
duration: Option<u32>
mbid: Option<String>
album_artist: Option<String>
chosen_by_user: Option<bool>
Methods
impl ScrobbleTrack
[src]
pub fn new(
artist: String,
track: String,
timestamp_utc: UnixTimestamp
) -> ScrobbleTrack
[src]
artist: String,
track: String,
timestamp_utc: UnixTimestamp
) -> ScrobbleTrack
pub fn info(
self,
album: Option<String>,
track_number: Option<u32>,
duration: Option<u32>
) -> ScrobbleTrack
[src]
self,
album: Option<String>,
track_number: Option<u32>,
duration: Option<u32>
) -> ScrobbleTrack
pub fn info2(
self,
mbid: Option<String>,
album_artist: Option<String>,
chosen_by_user: Option<bool>
) -> ScrobbleTrack
[src]
self,
mbid: Option<String>,
album_artist: Option<String>,
chosen_by_user: Option<bool>
) -> ScrobbleTrack
Trait Implementations
impl Debug for ScrobbleTrack
[src]
impl Hash for ScrobbleTrack
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrobbleTrack
impl Send for ScrobbleTrack
impl Sync for ScrobbleTrack
impl Unpin for ScrobbleTrack
impl UnwindSafe for ScrobbleTrack
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,