Struct librespot_protocol::spirc::Capability[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Capability[src]

pub fn new() -> Capability[src]

pub fn get_typ(&self) -> CapabilityType[src]

pub fn clear_typ(&mut self)[src]

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

pub fn set_typ(&mut self, v: CapabilityType)[src]

pub fn get_intValue(&self) -> &[i64][src]

pub fn clear_intValue(&mut self)[src]

pub fn set_intValue(&mut self, v: Vec<i64>)[src]

pub fn mut_intValue(&mut self) -> &mut Vec<i64>[src]

pub fn take_intValue(&mut self) -> Vec<i64>[src]

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

pub fn clear_stringValue(&mut self)[src]

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

pub fn mut_stringValue(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_stringValue(&mut self) -> RepeatedField<String>[src]

Trait Implementations

impl Clear for Capability[src]

impl Clone for Capability[src]

impl Debug for Capability[src]

impl Default for Capability[src]

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

impl Message for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl ProtobufValue for Capability[src]

impl StructuralPartialEq for Capability[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.