Struct librespot_protocol::keyexchange::UpgradeRequiredMessage[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl UpgradeRequiredMessage[src]

pub fn new() -> UpgradeRequiredMessage[src]

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

pub fn clear_upgrade_signed_part(&mut self)[src]

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

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

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

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

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

pub fn clear_signature(&mut self)[src]

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

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

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

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

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

pub fn clear_http_suffix(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for UpgradeRequiredMessage[src]

impl Clone for UpgradeRequiredMessage[src]

impl Debug for UpgradeRequiredMessage[src]

impl Default for UpgradeRequiredMessage[src]

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

impl Message for UpgradeRequiredMessage[src]

impl PartialEq<UpgradeRequiredMessage> for UpgradeRequiredMessage[src]

impl ProtobufValue for UpgradeRequiredMessage[src]

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