Struct librespot_protocol::spirc::Metadata[][src]

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Metadata[src]

pub fn new() -> Metadata[src]

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

pub fn clear_field_type(&mut self)[src]

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

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

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

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

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

pub fn clear_metadata(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for Metadata[src]

impl Clone for Metadata[src]

impl Debug for Metadata[src]

impl Default for Metadata[src]

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

impl Message for Metadata[src]

impl PartialEq<Metadata> for Metadata[src]

impl ProtobufValue for Metadata[src]

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