Modules§
Macros§
Structs§
- Lock
- A persistent lock, which stores its state (whether it’s locked or unlocked) on-chain, so that the inner value can be accessed depending on the current state of the lock.
- Nested
Prefix - Panic
OnClone - This struct is used as a tool to make it possible to derive borsh
serialization in such a way where serialization can take over a reference
and include it as if it’s owned by the struct/enum being serialized.
The reference can be taken in the function
PanicOnClone::from_ref().