Dteremine the type of fields in a struct

is it possible to know the types of each field in an instance of a struct?
Assume I have been given a code that I can’t see, but that includes a struct like this

mutable struct kroko{T} where T
  x :: Int32;
  y :: Float64;
  z :: T;
  kroko{T}() where {T} = new()

and I’m told such a struct exists, that I can initialize as

croc = kroko{Float64}()

As you see, fields are undefined but their types are well defined.
Now is there a way to get the types of the different fields of croc() ?
Or maybe it does not make sense as it is?

Best regards and thanks,


Never mind, I’be just found it :slight_smile: