pub struct Rawdata {
pub instance_name: String,
pub teams: Vec<Team>,
pub slots: Vec<Slot>,
pub distances: Vec<Distance>,
pub capacity_constraints: Vec<CapacityConstraints>,
pub separation_constraints: Vec<SeparationConstraints>,
}Expand description
All raw data parsed from a TTP XML instance.
Contains all information necessary to generate solutions, including teams, slots, distances, and constraints.
Fields§
§instance_name: StringName of the instance.
teams: Vec<Team>List of teams participating in the tournament.
slots: Vec<Slot>List of time slots or rounds.
distances: Vec<Distance>Pair travel distances between teams.
capacity_constraints: Vec<CapacityConstraints>Capacity constraints for the tournament.
separation_constraints: Vec<SeparationConstraints>Separation constraints for the tournament.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rawdata
impl<'de> Deserialize<'de> for Rawdata
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
Auto Trait Implementations§
impl Freeze for Rawdata
impl RefUnwindSafe for Rawdata
impl Send for Rawdata
impl Sync for Rawdata
impl Unpin for Rawdata
impl UnwindSafe for Rawdata
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