Struct librespot_protocol::spirc::Ad[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Ad[src]

pub fn new() -> Ad[src]

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

pub fn clear_next(&mut self)[src]

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

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

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

pub fn clear_ogg_fid(&mut self)[src]

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

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

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

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

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

pub fn clear_image_fid(&mut self)[src]

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

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

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

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

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

pub fn clear_duration(&mut self)[src]

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

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

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

pub fn clear_click_url(&mut self)[src]

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

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

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

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

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

pub fn clear_impression_url(&mut self)[src]

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

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

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

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

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

pub fn clear_product(&mut self)[src]

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

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

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

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

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

pub fn clear_advertiser(&mut self)[src]

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

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

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

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

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

pub fn clear_gid(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for Ad[src]

impl Clone for Ad[src]

impl Debug for Ad[src]

impl Default for Ad[src]

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

impl Message for Ad[src]

impl PartialEq<Ad> for Ad[src]

impl ProtobufValue for Ad[src]

impl StructuralPartialEq for Ad[src]

Auto Trait Implementations

impl RefUnwindSafe for Ad

impl Send for Ad

impl Sync for Ad

impl Unpin for Ad

impl UnwindSafe for Ad

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.