Struct astrolab_smart_coffee_types::digishop::menu::set_product_review::SetProductReviewBody [−][src]
pub struct SetProductReviewBody {
pub user: String,
pub product: String,
pub rating: i32,
pub comment: Option<String>,
pub pictures: Option<Vec<ProductReviewPictureBody>>,
pub is_allowed: bool,
}
Fields
user: String
product: String
rating: i32
comment: Option<String>
pictures: Option<Vec<ProductReviewPictureBody>>
is_allowed: 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 SetProductReviewBody
impl Send for SetProductReviewBody
impl Sync for SetProductReviewBody
impl Unpin for SetProductReviewBody
impl UnwindSafe for SetProductReviewBody
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