pub struct ValueRecord<DateTime, Value> {
pub valid_from: DateTime,
pub valid_until: Option<DateTime>,
pub value: Value,
}
Expand description
A timestamped record of a component of a user’s bid.
The interval for which the component has this value is provided alongside the value itself.
Fields§
§valid_from: DateTime
The timestamp when this change occurred
valid_until: Option<DateTime>
The timestamp when this change was superceded
value: Value
The component value
Auto Trait Implementations§
impl<DateTime, Value> Freeze for ValueRecord<DateTime, Value>
impl<DateTime, Value> RefUnwindSafe for ValueRecord<DateTime, Value>where
DateTime: RefUnwindSafe,
Value: RefUnwindSafe,
impl<DateTime, Value> Send for ValueRecord<DateTime, Value>
impl<DateTime, Value> Sync for ValueRecord<DateTime, Value>
impl<DateTime, Value> Unpin for ValueRecord<DateTime, Value>
impl<DateTime, Value> UnwindSafe for ValueRecord<DateTime, Value>where
DateTime: UnwindSafe,
Value: UnwindSafe,
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