models/crew_rotation
Types
pub type CrewRotation {
Strict
Relaxed
}
Constructors
-
Strict
-
Relaxed
Values
pub fn decoder() -> decode.Decoder(CrewRotation)
pub fn encode(crew_rotation: CrewRotation) -> json.Json
pub fn parse(value: String) -> Result(CrewRotation, Nil)
pub fn to_string(crew_rotation: CrewRotation) -> String