Structs§
- Compressed
Account Data - Compressed account data used when decompressing.
- Compression
Info
Enums§
Constants§
- OPTION_
COMPRESSION_ INFO_ SPACE - Space required for Option
when Some (1 byte discriminator + INIT_SPACE). Use this constant in account space calculations.
Traits§
- Compress
As - Override what gets stored when compressing. Return Self or a different type.
- Compressed
Init Space - Account space when compressed.
- HasCompression
Info - Pack
- Replace 32-byte Pubkeys with 1-byte indices to save space. If your type has no Pubkeys, just return self.
- Space
- Unpack
Functions§
- claim_
completed_ epoch_ rent - Claim completed-epoch rent to the provided rent sponsor and update last_claimed_slot. Returns Some(claimed) if any lamports were claimed; None if account is compressible or nothing to claim.