Struct librespot_protocol::metadata::Date[][src]

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Date[src]

pub fn new() -> Date[src]

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

pub fn clear_year(&mut self)[src]

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

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

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

pub fn clear_month(&mut self)[src]

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

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

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

pub fn clear_day(&mut self)[src]

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

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

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

pub fn clear_hour(&mut self)[src]

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

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

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

pub fn clear_minute(&mut self)[src]

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

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

Trait Implementations

impl Clear for Date[src]

impl Clone for Date[src]

impl Debug for Date[src]

impl Default for Date[src]

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

impl Message for Date[src]

impl PartialEq<Date> for Date[src]

impl ProtobufValue for Date[src]

impl StructuralPartialEq for Date[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.