#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
pub struct TVec<T: Clone> {
pub data: Rc<[T]>,}
error:
error[E0277]: the trait bound `std::rc::Rc<[T]>: Serialize` is not satisfied
7 | pub data: Rc<[T]>,}
| ^^^ the trait `Serialize` is not implemented for `std::rc::Rc<[T]>`
How do I fix this ?