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

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


unknown_fields: UnknownFieldscached_size: CachedSize


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

impl RefUnwindSafe for Goodbye

impl Send for Goodbye

impl Sync for Goodbye

impl Unpin for Goodbye

impl UnwindSafe for Goodbye

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.