[−][src]Struct librespot_protocol::spirc::Ad
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
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 Clone for Ad
[src]
impl Default for Ad
[src]
impl<'a> Default for &'a Ad
[src]
impl PartialEq<Ad> for Ad
[src]
impl Debug for Ad
[src]
impl StructuralPartialEq for Ad
[src]
impl Message for Ad
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> Ad
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static Ad
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl Clear for Ad
[src]
impl ProtobufValue for Ad
[src]
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,