| 5 | #[cfg_attr(feature = "sdk", derive(serde::Serialize, serde::Deserialize))] |
| 6 | #[derive(AnchorSerialize, AnchorDeserialize, Debug, Clone)] |
| 7 | pub struct SerializedComponent{ |
| 8 | pub max_size: u64, |
| 9 | pub data: Vec<u8>, |
| 10 | } |
| 11 | |
| 12 | impl MaxSize for SerializedComponent { |
| 13 | fn get_max_size() -> u64 { |
nothing calls this directly
no outgoing calls
no test coverage detected