Struct librespot_protocol::metadata::SalePeriod[][src]

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


unknown_fields: UnknownFieldscached_size: CachedSize


impl SalePeriod[src]

pub fn new() -> SalePeriod[src]

pub fn get_restriction(&self) -> &[Restriction][src]

pub fn clear_restriction(&mut self)[src]

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

pub fn mut_restriction(&mut self) -> &mut RepeatedField<Restriction>[src]

pub fn take_restriction(&mut self) -> RepeatedField<Restriction>[src]

pub fn get_start(&self) -> &Date[src]

pub fn clear_start(&mut self)[src]

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

pub fn set_start(&mut self, v: Date)[src]

pub fn mut_start(&mut self) -> &mut Date[src]

pub fn take_start(&mut self) -> Date[src]

pub fn get_end(&self) -> &Date[src]

pub fn clear_end(&mut self)[src]

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

pub fn set_end(&mut self, v: Date)[src]

pub fn mut_end(&mut self) -> &mut Date[src]

pub fn take_end(&mut self) -> Date[src]

Trait Implementations

impl Clear for SalePeriod[src]

impl Clone for SalePeriod[src]

impl Debug for SalePeriod[src]

impl Default for SalePeriod[src]

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

impl Message for SalePeriod[src]

impl PartialEq<SalePeriod> for SalePeriod[src]

impl ProtobufValue for SalePeriod[src]

impl StructuralPartialEq for SalePeriod[src]

Auto Trait Implementations

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.