Struct astrolab_smart_coffee_types::menu::update_menu_ad::UpdateMenuAdBody [−][src]
pub struct UpdateMenuAdBody {}Show 14 fields
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: String
number_of_published_ads: i32
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for UpdateMenuAdBody
impl Send for UpdateMenuAdBody
impl Sync for UpdateMenuAdBody
impl Unpin for UpdateMenuAdBody
impl UnwindSafe for UpdateMenuAdBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V