pub struct PriceRow {
pub commodity_id: Uuid,
pub currency_id: Uuid,
pub commodity_split: Uuid,
pub currency_split: Uuid,
pub value_num: i64,
pub value_denom: i64,
pub date: Option<DateTime<Utc>>,
}Expand description
One price-table row linking two physical splits.
Fields§
§commodity_id: Uuid§currency_id: Uuid§commodity_split: Uuid§currency_split: Uuid§value_num: i64§value_denom: i64§date: Option<DateTime<Utc>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PriceRow
impl RefUnwindSafe for PriceRow
impl Send for PriceRow
impl Sync for PriceRow
impl Unpin for PriceRow
impl UnsafeUnpin for PriceRow
impl UnwindSafe for PriceRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more