pub struct Market {
pub id: i64,
pub owner_id: i64,
pub title: String,
pub description: String,
pub price: MarketPrice,
pub photos: Vec<Photo>,
pub date: i64,
pub access_key: Option<String>,
}Expand description
Market item
Fields§
§id: i64Item ID
owner_id: i64Owner ID
title: StringTitle
description: StringDescription
price: MarketPricePrice
photos: Vec<Photo>Photos
date: i64Date
access_key: Option<String>Access key
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Market
impl<'de> Deserialize<'de> for Market
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
Auto Trait Implementations§
impl Freeze for Market
impl RefUnwindSafe for Market
impl Send for Market
impl Sync for Market
impl Unpin for Market
impl UnwindSafe for Market
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