struct DispatchRow {
milestone_year: u32,
run_description: String,
asset_id: Option<AssetID>,
group_id: Option<AssetGroupID>,
process_id: ProcessID,
region_id: RegionID,
time_slice: TimeSliceID,
activity: Option<Activity>,
activity_dual: Option<MoneyPerActivity>,
column_dual: Option<MoneyPerActivity>,
}Expand description
Represents the activity in a row of the dispatch CSV file
Fields§
§milestone_year: u32§run_description: String§asset_id: Option<AssetID>§group_id: Option<AssetGroupID>§process_id: ProcessID§region_id: RegionID§time_slice: TimeSliceID§activity: Option<Activity>§activity_dual: Option<MoneyPerActivity>§column_dual: Option<MoneyPerActivity>Trait Implementations§
Source§impl Debug for DispatchRow
impl Debug for DispatchRow
Source§impl<'de> Deserialize<'de> for DispatchRow
impl<'de> Deserialize<'de> for DispatchRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DispatchRow
impl PartialEq for DispatchRow
Source§impl Serialize for DispatchRow
impl Serialize for DispatchRow
impl StructuralPartialEq for DispatchRow
Auto Trait Implementations§
impl Freeze for DispatchRow
impl RefUnwindSafe for DispatchRow
impl !Send for DispatchRow
impl !Sync for DispatchRow
impl Unpin for DispatchRow
impl UnsafeUnpin for DispatchRow
impl UnwindSafe for DispatchRow
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> 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