Struct librespot_protocol::metadata::Image[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Image[src]

pub fn new() -> Image[src]

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

pub fn clear_file_id(&mut self)[src]

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

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

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

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

pub fn get_size(&self) -> Image_Size[src]

pub fn clear_size(&mut self)[src]

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

pub fn set_size(&mut self, v: Image_Size)[src]

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

pub fn clear_width(&mut self)[src]

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

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

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

pub fn clear_height(&mut self)[src]

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

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

Trait Implementations

impl Clear for Image[src]

impl Clone for Image[src]

impl Debug for Image[src]

impl Default for Image[src]

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

impl Message for Image[src]

impl PartialEq<Image> for Image[src]

impl ProtobufValue for Image[src]

impl StructuralPartialEq for Image[src]

Auto Trait Implementations

impl RefUnwindSafe for Image

impl Send for Image

impl Sync for Image

impl Unpin for Image

impl UnwindSafe for Image

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.