models/contract
Types
pub type Contract {
Contract(
id: contract_id.ContractId,
faction_symbol: faction_symbol.FactionSymbol,
type_: contract_type.ContractType,
terms: contract_terms.ContractTerms,
accepted: Bool,
fulfilled: Bool,
deadline_to_accept: option.Option(birl.Time),
)
}
Constructors
-
Contract( id: contract_id.ContractId, faction_symbol: faction_symbol.FactionSymbol, type_: contract_type.ContractType, terms: contract_terms.ContractTerms, accepted: Bool, fulfilled: Bool, deadline_to_accept: option.Option(birl.Time), )
Values
pub fn decoder() -> decode.Decoder(Contract)