[][src]Struct librespot_protocol::authentication::AccountInfo

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl AccountInfo[src]

pub fn new() -> AccountInfo[src]

pub fn get_spotify(&self) -> &AccountInfoSpotify[src]

pub fn clear_spotify(&mut self)[src]

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

pub fn set_spotify(&mut self, v: AccountInfoSpotify)[src]

pub fn mut_spotify(&mut self) -> &mut AccountInfoSpotify[src]

pub fn take_spotify(&mut self) -> AccountInfoSpotify[src]

pub fn get_facebook(&self) -> &AccountInfoFacebook[src]

pub fn clear_facebook(&mut self)[src]

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

pub fn set_facebook(&mut self, v: AccountInfoFacebook)[src]

pub fn mut_facebook(&mut self) -> &mut AccountInfoFacebook[src]

pub fn take_facebook(&mut self) -> AccountInfoFacebook[src]

Trait Implementations

impl Clone for AccountInfo[src]

impl Default for AccountInfo[src]

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

impl PartialEq<AccountInfo> for AccountInfo[src]

impl Debug for AccountInfo[src]

impl StructuralPartialEq for AccountInfo[src]

impl Message for AccountInfo[src]

impl Clear for AccountInfo[src]

impl ProtobufValue for AccountInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]