[][src]Struct librespot_protocol::authentication::PeerTicketUnion

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl PeerTicketUnion[src]

pub fn new() -> PeerTicketUnion[src]

pub fn get_public_key(&self) -> &PeerTicketPublicKey[src]

pub fn clear_public_key(&mut self)[src]

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

pub fn set_public_key(&mut self, v: PeerTicketPublicKey)[src]

pub fn mut_public_key(&mut self) -> &mut PeerTicketPublicKey[src]

pub fn take_public_key(&mut self) -> PeerTicketPublicKey[src]

pub fn get_old_ticket(&self) -> &PeerTicketOld[src]

pub fn clear_old_ticket(&mut self)[src]

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

pub fn set_old_ticket(&mut self, v: PeerTicketOld)[src]

pub fn mut_old_ticket(&mut self) -> &mut PeerTicketOld[src]

pub fn take_old_ticket(&mut self) -> PeerTicketOld[src]

Trait Implementations

impl Clone for PeerTicketUnion[src]

impl Default for PeerTicketUnion[src]

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

impl PartialEq<PeerTicketUnion> for PeerTicketUnion[src]

impl Debug for PeerTicketUnion[src]

impl StructuralPartialEq for PeerTicketUnion[src]

impl Message for PeerTicketUnion[src]

impl Clear for PeerTicketUnion[src]

impl ProtobufValue for PeerTicketUnion[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]