Expand description
Shared type wrappers and aliases used across the ops and endpoint layers.
These helpers centralize candid-friendly structs plus bounded/principal
utilities so consumers can use canic::core::types::* without reaching into
submodules.
Re-exports§
pub use canic_cdk as cdk;pub use canic_utils as utils;
Modules§
- storable
- Derive
ic-stable-structuresstorage traits using Mini CBOR serialization.
Structs§
- Account
- Account
- Bounded
String - BoundedString
- ByteBuf
- Wrapper around
Vec<u8>to serialize and deserialize efficiently. - Cycles
- Cycles
Thin wrapper around
Natthat carries helper traits and serializers for arithmetic on cycle balances. - Int
- Nat
- Page
Request - PageRequest Common pagination envelope to avoid passing raw integers around.
- Principal
- Generic ID on Internet Computer.
- Ulid
- Ulid
A Candid-safe wrapper around
ulid::Ulid. - Wasm
Module - WasmModule Holds a reference to embedded WASM bytes and exposes helper inspectors.