pub struct Scrobble {
pub owner: UserRef,
pub track: EntityRef,
pub at_ms: u64,
}Expand description
A client declares that a track was listened to, without playback evidence.
Unlike Play, this does not claim a duration, completion, decoded audio,
or acknowledgement. Subsonic scrobble submissions supply only the track and
a timestamp. Each accepted submission increments the all-time counter;
repeating a request can therefore double-count a listen.
Fields§
§owner: UserRefImmutable owner whose client submitted the declaration.
track: EntityRefStable reference to the declared track.
at_ms: u64Unix milliseconds supplied by the client, or receipt time when omitted.
Trait Implementations§
impl Eq for Scrobble
impl StructuralPartialEq for Scrobble
Auto Trait Implementations§
impl Freeze for Scrobble
impl RefUnwindSafe for Scrobble
impl Send for Scrobble
impl Sync for Scrobble
impl Unpin for Scrobble
impl UnwindSafe for Scrobble
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