I have a record type
type Record = { Start: DateTime; End: DateTime; Duration: TimeSpan }
let record = { Start = DateTime.Now; End = DateTime(2021,12,1) }
This code won't compile as there's no assignment given for field Duration.
Is it possible to calculate Duration in the type definition instead of assigning it?