Struct astrolab_smart_coffee_types::menu::create_menu_ad::CreateMenuAdBody [−][src]
pub struct CreateMenuAdBody {Show 14 fields
pub number_of_authorized_ads: i32,
pub number_of_published_ads: i32,
pub company: Option<String>,
pub menus: Option<Vec<MenuIdBody>>,
pub names: Option<Vec<CreateMenuAdNameBody>>,
pub descriptions: Option<Vec<CreateMenuAdDescriptionBody>>,
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
number_of_published_ads: i32
company: Option<String>
names: Option<Vec<CreateMenuAdNameBody>>
descriptions: Option<Vec<CreateMenuAdDescriptionBody>>
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 CreateMenuAdBody
impl Send for CreateMenuAdBody
impl Sync for CreateMenuAdBody
impl Unpin for CreateMenuAdBody
impl UnwindSafe for CreateMenuAdBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more