pub trait ToArraywhere RefOr<Schema>: From<Self>, Self: Sized,{ // Provided method fn to_array(self) -> Array { ... } }