[][src]Struct librespot_protocol::metadata::ActivityPeriod

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ActivityPeriod[src]

pub fn new() -> ActivityPeriod[src]

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

pub fn clear_start_year(&mut self)[src]

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

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

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

pub fn clear_end_year(&mut self)[src]

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

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

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

pub fn clear_decade(&mut self)[src]

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

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

Trait Implementations

impl Clear for ActivityPeriod[src]

impl Clone for ActivityPeriod[src]

impl Debug for ActivityPeriod[src]

impl Default for ActivityPeriod[src]

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

impl Message for ActivityPeriod[src]

impl PartialEq<ActivityPeriod> for ActivityPeriod[src]

impl ProtobufValue for ActivityPeriod[src]

impl StructuralPartialEq for ActivityPeriod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.