pub struct Order {Show 18 fields
pub id: OrderId,
pub status: OrderStatus,
pub lot_params: Vec<(String, String)>,
pub buyer_params: HashMap<String, String>,
pub short_description: Option<String>,
pub full_description: Option<String>,
pub subcategory: Option<Subcategory>,
pub amount: i32,
pub sum: f64,
pub currency: String,
pub buyer_id: i64,
pub buyer_username: String,
pub seller_id: i64,
pub seller_username: String,
pub chat_id: ChatId,
pub html: String,
pub review: Option<Review>,
pub order_secrets: Vec<String>,
}Fields§
§id: OrderId§status: OrderStatus§lot_params: Vec<(String, String)>§buyer_params: HashMap<String, String>§short_description: Option<String>§full_description: Option<String>§subcategory: Option<Subcategory>§amount: i32§sum: f64§currency: String§buyer_id: i64§buyer_username: String§seller_id: i64§seller_username: String§chat_id: ChatId§html: String§review: Option<Review>§order_secrets: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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