[][src]Struct astrolab_smart_coffee_types::menu::update_menu_ad::UpdateMenuAdBody

pub struct UpdateMenuAdBody {
    pub id: String,
    pub number_of_authorized_ads: i32,
    pub number_of_published_ads: i32,
    pub menus: Option<Vec<MenuIdBody>>,
    pub names: Option<Vec<UpdateMenuAdNameBody>>,
    pub descriptions: Option<Vec<UpdateMenuAdDescriptionBody>>,
    pub kind: Option<String>,
    pub position: Option<String>,
    pub pictures: Option<MenuAdPictureBody>,
    pub products: Option<Vec<ProductIdBody>>,
    pub external_url: Option<String>,
    pub start_date: Option<DateTime<Utc>>,
    pub end_date: Option<DateTime<Utc>>,
    pub is_published: Option<bool>,
}

Fields

id: Stringnumber_of_authorized_ads: i32number_of_published_ads: i32menus: Option<Vec<MenuIdBody>>names: Option<Vec<UpdateMenuAdNameBody>>descriptions: Option<Vec<UpdateMenuAdDescriptionBody>>kind: Option<String>position: Option<String>pictures: Option<MenuAdPictureBody>products: Option<Vec<ProductIdBody>>external_url: Option<String>start_date: Option<DateTime<Utc>>end_date: Option<DateTime<Utc>>is_published: Option<bool>

Trait Implementations

impl Clone for UpdateMenuAdBody[src]

impl Debug for UpdateMenuAdBody[src]

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

impl Serialize for UpdateMenuAdBody[src]

impl Validate for UpdateMenuAdBody[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,