Struct librespot_protocol::metadata::Category[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Category[src]

pub fn new() -> Category[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

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

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_subcategories(&self) -> &[Category][src]

pub fn clear_subcategories(&mut self)[src]

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

pub fn mut_subcategories(&mut self) -> &mut RepeatedField<Category>[src]

pub fn take_subcategories(&mut self) -> RepeatedField<Category>[src]

Trait Implementations

impl Clear for Category[src]

impl Clone for Category[src]

impl Debug for Category[src]

impl Default for Category[src]

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

impl Message for Category[src]

impl PartialEq<Category> for Category[src]

impl ProtobufValue for Category[src]

impl StructuralPartialEq for Category[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.