pub trait ToArray where RefOr<Schema>: From<Self>, Self: Sized, { fn to_array(self) -> Array { ... } }