Struct librespot_protocol::playlist4content::ListItems[][src]

pub struct ListItems {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ListItems[src]

pub fn new() -> ListItems[src]

pub fn get_pos(&self) -> i32[src]

pub fn clear_pos(&mut self)[src]

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

pub fn set_pos(&mut self, v: i32)[src]

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

pub fn clear_truncated(&mut self)[src]

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

pub fn set_truncated(&mut self, v: bool)[src]

pub fn get_items(&self) -> &[Item][src]

pub fn clear_items(&mut self)[src]

pub fn set_items(&mut self, v: RepeatedField<Item>)[src]

pub fn mut_items(&mut self) -> &mut RepeatedField<Item>[src]

pub fn take_items(&mut self) -> RepeatedField<Item>[src]

Trait Implementations

impl Clear for ListItems[src]

impl Clone for ListItems[src]

impl Debug for ListItems[src]

impl Default for ListItems[src]

impl<'a> Default for &'a ListItems[src]

impl Message for ListItems[src]

impl PartialEq<ListItems> for ListItems[src]

impl ProtobufValue for ListItems[src]

impl StructuralPartialEq for ListItems[src]

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.