pub struct CapacityConstraints {
pub c_intp: i32,
pub c_max: i32,
pub c_min: i32,
pub c_mode1: char,
pub c_mode2: String,
pub c_penalty: i32,
pub c_team_groups1: i32,
pub c_team_groups2: i32,
pub c_type: String,
}Expand description
Represents capacity constraints for the tournament.
Fields§
§c_intp: i32Interval parameter
c_max: i32Maximum allowed occurrences.
c_min: i32Minimum required occurrences.
c_mode1: charMode type 1 (‘A’, ‘H’).
c_mode2: StringMode type 2 (string).
c_penalty: i32Penalty value for violation.
c_team_groups1: i32First affected team group.
c_team_groups2: i32Second affected team group.
c_type: StringType of constraint (description).
Implementations§
Trait Implementations§
Source§impl Clone for CapacityConstraints
impl Clone for CapacityConstraints
Source§fn clone(&self) -> CapacityConstraints
fn clone(&self) -> CapacityConstraints
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 CapacityConstraints
impl Debug for CapacityConstraints
Source§impl<'de> Deserialize<'de> for CapacityConstraints
impl<'de> Deserialize<'de> for CapacityConstraints
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 CapacityConstraints
impl RefUnwindSafe for CapacityConstraints
impl Send for CapacityConstraints
impl Sync for CapacityConstraints
impl Unpin for CapacityConstraints
impl UnwindSafe for CapacityConstraints
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