Struct librespot_protocol::authentication::LoginCredentials[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl LoginCredentials[src]

pub fn new() -> LoginCredentials[src]

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

pub fn clear_username(&mut self)[src]

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

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

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

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

pub fn get_typ(&self) -> AuthenticationType[src]

pub fn clear_typ(&mut self)[src]

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

pub fn set_typ(&mut self, v: AuthenticationType)[src]

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

pub fn clear_auth_data(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for LoginCredentials[src]

impl Clone for LoginCredentials[src]

impl Debug for LoginCredentials[src]

impl Default for LoginCredentials[src]

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

impl Message for LoginCredentials[src]

impl PartialEq<LoginCredentials> for LoginCredentials[src]

impl ProtobufValue for LoginCredentials[src]

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