Skip to main content

server/domain/phase/state/scoring/
scoring_dealer.rs

1use serde::{Deserialize, Serialize};
2
3use super::common::Scoring;
4
5/// Marker type used to distinguish dealer scoring from other scoring contexts.
6#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
7pub struct ScoringDealerType;
8
9/// A strongly typed alias for scoring operations associated with the dealer.
10///
11/// This type ensures that scoring computations relating to the dealer are
12/// handled distinctly from other scoring domains.
13pub type ScoringDealer = Scoring<ScoringDealerType>;