Struct librespot_protocol::mercury::MercuryRequest[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl MercuryRequest[src]

pub fn new() -> MercuryRequest[src]

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

pub fn clear_uri(&mut self)[src]

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

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

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

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

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

pub fn clear_content_type(&mut self)[src]

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

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

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

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

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

pub fn clear_body(&mut self)[src]

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

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

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

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

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

pub fn clear_etag(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for MercuryRequest[src]

impl Clone for MercuryRequest[src]

impl Debug for MercuryRequest[src]

impl Default for MercuryRequest[src]

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

impl Message for MercuryRequest[src]

impl PartialEq<MercuryRequest> for MercuryRequest[src]

impl ProtobufValue for MercuryRequest[src]

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