Struct librespot_protocol::spirc::Goodbye[][src]

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Goodbye[src]

pub fn new() -> Goodbye[src]

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

pub fn clear_reason(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for Goodbye[src]

impl Clone for Goodbye[src]

impl Debug for Goodbye[src]

impl Default for Goodbye[src]

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

impl Message for Goodbye[src]

impl PartialEq<Goodbye> for Goodbye[src]

impl ProtobufValue for Goodbye[src]

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