pub struct SeparationConstraints {
pub c_max: i32,
pub c_min: i32,
pub c_penalty: i32,
pub c_team_groups: i32,
pub c_type: String,
}Expand description
Represents separation constraints for the tournament.
Fields§
§c_max: i32Maximum allowed distance between occurrences.
c_min: i32Minimum required distance between occurrences.
c_penalty: i32Penalty value for violation.
c_team_groups: i32Team group affected by the constraint.
c_type: StringType of constraint (description).
Implementations§
Trait Implementations§
Source§impl Clone for SeparationConstraints
impl Clone for SeparationConstraints
Source§fn clone(&self) -> SeparationConstraints
fn clone(&self) -> SeparationConstraints
Returns a copy 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 moreSource§impl Debug for SeparationConstraints
impl Debug for SeparationConstraints
Source§impl<'de> Deserialize<'de> for SeparationConstraints
impl<'de> Deserialize<'de> for SeparationConstraints
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 SeparationConstraints
impl RefUnwindSafe for SeparationConstraints
impl Send for SeparationConstraints
impl Sync for SeparationConstraints
impl Unpin for SeparationConstraints
impl UnwindSafe for SeparationConstraints
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