Struct librespot_protocol::mercury::Header[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Header[src]

pub fn new() -> Header[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_method(&self) -> &str[src]

pub fn clear_method(&mut self)[src]

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

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

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

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

pub fn get_status_code(&self) -> i32[src]

pub fn clear_status_code(&mut self)[src]

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

pub fn set_status_code(&mut self, v: i32)[src]

pub fn get_user_fields(&self) -> &[UserField][src]

pub fn clear_user_fields(&mut self)[src]

pub fn set_user_fields(&mut self, v: RepeatedField<UserField>)[src]

pub fn mut_user_fields(&mut self) -> &mut RepeatedField<UserField>[src]

pub fn take_user_fields(&mut self) -> RepeatedField<UserField>[src]

Trait Implementations

impl Clear for Header[src]

impl Clone for Header[src]

impl Debug for Header[src]

impl Default for Header[src]

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

impl Message for Header[src]

impl PartialEq<Header> for Header[src]

impl ProtobufValue for Header[src]

impl StructuralPartialEq for Header[src]

Auto Trait Implementations

impl RefUnwindSafe for Header

impl Send for Header

impl Sync for Header

impl Unpin for Header

impl UnwindSafe for Header

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.