Struct librespot_protocol::mercury::UserField[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl UserField[src]

pub fn new() -> UserField[src]

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

pub fn clear_key(&mut self)[src]

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

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

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

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

pub fn get_value(&self) -> &[u8][src]

pub fn clear_value(&mut self)[src]

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

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

pub fn mut_value(&mut self) -> &mut Vec<u8>[src]

pub fn take_value(&mut self) -> Vec<u8>[src]

Trait Implementations

impl Clear for UserField[src]

impl Clone for UserField[src]

impl Debug for UserField[src]

impl Default for UserField[src]

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

impl Message for UserField[src]

impl PartialEq<UserField> for UserField[src]

impl ProtobufValue for UserField[src]

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