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