pub struct ScrobbleBatch(/* private fields */);
Expand description
A batch of Scrobbles to be submitted to Last.fm together.
Implementations§
Source§impl ScrobbleBatch
impl ScrobbleBatch
Sourcepub fn new() -> ScrobbleBatch
pub fn new() -> ScrobbleBatch
Creates a new, empty ScrobbleBatch
Trait Implementations§
Source§impl Clone for ScrobbleBatch
impl Clone for ScrobbleBatch
Source§fn clone(&self) -> ScrobbleBatch
fn clone(&self) -> ScrobbleBatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScrobbleBatch
impl Debug for ScrobbleBatch
Source§impl Extend<Scrobble> for ScrobbleBatch
impl Extend<Scrobble> for ScrobbleBatch
Source§fn extend<T: IntoIterator<Item = Scrobble>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Scrobble>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<Vec<(&str, &str, &str)>> for ScrobbleBatch
Converts from vector of &str
tuples, in the form (artist, track, album)
.
impl From<Vec<(&str, &str, &str)>> for ScrobbleBatch
Converts from vector of &str
tuples, in the form (artist, track, album)
.
Designed to make it easier to cooperate with other track info types.
Source§impl From<Vec<(String, String, String)>> for ScrobbleBatch
Converts from vector of String
tuples, in the form (artist, track, album)
.
impl From<Vec<(String, String, String)>> for ScrobbleBatch
Converts from vector of String
tuples, in the form (artist, track, album)
.
Designed to make it easier to cooperate with other track info types.
Source§impl FromIterator<Scrobble> for ScrobbleBatch
impl FromIterator<Scrobble> for ScrobbleBatch
Source§impl<'a> IntoIterator for &'a ScrobbleBatch
impl<'a> IntoIterator for &'a ScrobbleBatch
Auto Trait Implementations§
impl Freeze for ScrobbleBatch
impl RefUnwindSafe for ScrobbleBatch
impl Send for ScrobbleBatch
impl Sync for ScrobbleBatch
impl Unpin for ScrobbleBatch
impl UnwindSafe for ScrobbleBatch
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