pub struct OrderShortcut {
pub id: OrderId,
pub description: String,
pub price: f64,
pub currency: String,
pub buyer_username: String,
pub buyer_id: i64,
pub chat_id: ChatId,
pub status: OrderStatus,
pub date_text: String,
pub subcategory: Subcategory,
pub amount: i32,
}Fields§
§id: OrderId§description: String§price: f64§currency: String§buyer_username: String§buyer_id: i64§chat_id: ChatId§status: OrderStatus§date_text: String§subcategory: Subcategory§amount: i32Trait Implementations§
Source§impl Clone for OrderShortcut
impl Clone for OrderShortcut
Source§fn clone(&self) -> OrderShortcut
fn clone(&self) -> OrderShortcut
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrderShortcut
impl RefUnwindSafe for OrderShortcut
impl Send for OrderShortcut
impl Sync for OrderShortcut
impl Unpin for OrderShortcut
impl UnwindSafe for OrderShortcut
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