pub struct WeightScheduleEntry {
pub date: DateTime<Utc>,
pub weights: Vec<Decimal>,
}Expand description
An entry in a time-varying weight schedule.
Fields§
§date: DateTime<Utc>§weights: Vec<Decimal>Trait Implementations§
Source§impl Clone for WeightScheduleEntry
impl Clone for WeightScheduleEntry
Source§fn clone(&self) -> WeightScheduleEntry
fn clone(&self) -> WeightScheduleEntry
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 WeightScheduleEntry
impl RefUnwindSafe for WeightScheduleEntry
impl Send for WeightScheduleEntry
impl Sync for WeightScheduleEntry
impl Unpin for WeightScheduleEntry
impl UnsafeUnpin for WeightScheduleEntry
impl UnwindSafe for WeightScheduleEntry
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