Struct librespot_protocol::pubsub::Subscription[][src]

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

Generated files are compatible only with the same version of protobuf runtime.

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Subscription[src]

pub fn new() -> Subscription[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_expiry(&self) -> i32[src]

pub fn clear_expiry(&mut self)[src]

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

pub fn set_expiry(&mut self, v: i32)[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]

Trait Implementations

impl Clear for Subscription[src]

impl Clone for Subscription[src]

impl Debug for Subscription[src]

impl Default for Subscription[src]

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

impl Message for Subscription[src]

impl PartialEq<Subscription> for Subscription[src]

impl ProtobufValue for Subscription[src]

impl StructuralPartialEq for Subscription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.