pub struct TableGroupItem {
pub subject_name: Option<String>,
pub subject_id: Option<i64>,
pub brand_name: Option<String>,
pub tag_name: Option<String>,
pub tag_id: Option<i64>,
pub metrics: Option<Box<TableGroupItemMetrics>>,
pub items: Option<Vec<TableItem>>,
}Expand description
TableGroupItem : К группе товаров относятся все карточки, подходящие хотя бы по одному из параметров: - subjectName — название предмета - brandName — бренд - tagName — название ярлыка
Fields§
§subject_name: Option<String>Название предмета
subject_id: Option<i64>ID предмета
brand_name: Option<String>Бренд
tag_name: Option<String>Название ярлыка
tag_id: Option<i64>ID ярлыка
metrics: Option<Box<TableGroupItemMetrics>>§items: Option<Vec<TableItem>>Массив товаров группы
Implementations§
Source§impl TableGroupItem
impl TableGroupItem
Sourcepub fn new() -> TableGroupItem
pub fn new() -> TableGroupItem
К группе товаров относятся все карточки, подходящие хотя бы по одному из параметров: - subjectName — название предмета - brandName — бренд - tagName — название ярлыка
Trait Implementations§
Source§impl Clone for TableGroupItem
impl Clone for TableGroupItem
Source§impl Debug for TableGroupItem
impl Debug for TableGroupItem
Source§impl Default for TableGroupItem
impl Default for TableGroupItem
Source§impl<'de> Deserialize<'de> for TableGroupItem
impl<'de> Deserialize<'de> for TableGroupItem
Source§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
Source§impl PartialEq for TableGroupItem
impl PartialEq for TableGroupItem
Source§impl Serialize for TableGroupItem
impl Serialize for TableGroupItem
impl StructuralPartialEq for TableGroupItem
Auto Trait Implementations§
impl Forget for TableGroupItem
impl Freeze for TableGroupItem
impl Move for TableGroupItem
impl RefUnwindSafe for TableGroupItem
impl Send for TableGroupItem
impl Sync for TableGroupItem
impl Unpin for TableGroupItem
impl UnsafeUnpin for TableGroupItem
impl UnwindSafe for TableGroupItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more