[][src]Struct rustfm_scrobble::responses::values::ScrobbleList

pub struct ScrobbleList(_);

A collection of ScrobbleResponses

Implementations

impl ScrobbleList[src]

pub fn new() -> ScrobbleList[src]

Creates a new, empty ScrobbleList

pub fn is_empty(&self) -> bool[src]

Returns true if the ScrobbleList contains no ScrobbleResponses

pub fn len(&self) -> usize[src]

Returns the number of ScrobbleResponses in the ScrobbleList

pub fn iter<'a>(&'a self) -> Iter<'a, ScrobbleResponse>[src]

Returns an iterator over the ScrobbleList

Trait Implementations

impl Debug for ScrobbleList[src]

impl<'de> Deserialize<'de> for ScrobbleList[src]

impl Extend<ScrobbleResponse> for ScrobbleList[src]

impl From<Vec<ScrobbleResponse, Global>> for ScrobbleList[src]

impl FromIterator<ScrobbleResponse> for ScrobbleList[src]

impl IntoIterator for ScrobbleList[src]

type Item = ScrobbleResponse

The type of the elements being iterated over.

type IntoIter = IntoIter<ScrobbleResponse>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a ScrobbleList[src]

type Item = &'a ScrobbleResponse

The type of the elements being iterated over.

type IntoIter = Iter<'a, ScrobbleResponse>

Which kind of iterator are we turning this into?

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.