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

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


unknown_fields: UnknownFieldscached_size: CachedSize


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 Clear for PeerTicketUnion[src]

impl Clone for PeerTicketUnion[src]

impl Debug for PeerTicketUnion[src]

impl Default for PeerTicketUnion[src]

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

impl Message for PeerTicketUnion[src]

impl PartialEq<PeerTicketUnion> for PeerTicketUnion[src]

impl ProtobufValue for PeerTicketUnion[src]

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