Struct librespot_protocol::playlist4changes::Diff[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl Diff[src]

pub fn new() -> Diff[src]

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

pub fn clear_from_revision(&mut self)[src]

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

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

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

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

pub fn get_ops(&self) -> &[Op][src]

pub fn clear_ops(&mut self)[src]

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

pub fn mut_ops(&mut self) -> &mut RepeatedField<Op>[src]

pub fn take_ops(&mut self) -> RepeatedField<Op>[src]

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

pub fn clear_to_revision(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for Diff[src]

impl Clone for Diff[src]

impl Debug for Diff[src]

impl Default for Diff[src]

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

impl Message for Diff[src]

impl PartialEq<Diff> for Diff[src]

impl ProtobufValue for Diff[src]

impl StructuralPartialEq for Diff[src]

Auto Trait Implementations

impl RefUnwindSafe for Diff

impl Send for Diff

impl Sync for Diff

impl Unpin for Diff

impl UnwindSafe for Diff

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.