I guess View in your example is SwiftUI.View? It has associatedtype Body which you can use to refer to body's return type.
struct Wot: View {
let model: String?
var body: Optional<some View> {
guard let model else {
return Body.none
}
return Text(model)
}
}