MCPcopy Create free account
hub / github.com/JumpCrypto/sol-arc / SerializedComponent

Class SerializedComponent

programs/core-ds/src/state.rs:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected