Struct okane_core::repl::Lot
source · pub struct Lot {
pub price: Option<Exchange>,
pub date: Option<NaiveDate>,
pub note: Option<String>,
}Expand description
Lot information is a set of metadata to record the original lot which the commodity is acquired with.
Fields§
§price: Option<Exchange>§date: Option<NaiveDate>§note: Option<String>Trait Implementations§
impl Eq for Lot
impl StructuralEq for Lot
impl StructuralPartialEq for Lot
Auto Trait Implementations§
impl RefUnwindSafe for Lot
impl Send for Lot
impl Sync for Lot
impl Unpin for Lot
impl UnwindSafe for Lot
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