[][src]Struct ovgu_canteen::Day

pub struct Day {
    pub date: NaiveDate,
    pub meals: Vec<Meal>,
    pub side_dishes: Vec<String>,
}

A Day holds all the meals that are available at the given day.

Fields

date: NaiveDate

The date of this day.

meals: Vec<Meal>

The meal available on this day.

side_dishes: Vec<String>

The side dishes available on this day.

Trait Implementations

impl Clone for Day[src]

impl Debug for Day[src]

impl<'de> Deserialize<'de> for Day[src]

impl FromElement for Day[src]

type Err = Error

This is the error type used when the creation from a HTML element fails.

impl PartialEq<Day> for Day[src]

impl Serialize for Day[src]

impl Update for Day[src]

type Err = Error

This is the error type used when the update fails.

Auto Trait Implementations

impl RefUnwindSafe for Day

impl Send for Day

impl Sync for Day

impl Unpin for Day

impl UnwindSafe for Day

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.