Module avalanche_types::ids
source · [−]Expand description
The ids
implements Avalanche ID type (32-byte).
use avalanche_types::ids;
assert_eq!(format!("{}", ids::Id::default()), "11111111111111111111111111111111LpoYY");
Modules
Structs
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/ids#ID
ref. https://docs.rs/zerocopy/latest/zerocopy/trait.AsBytes.html#safety
Constants
Functions
Generates VM ID based on the name.
Return a new set with initial capacity [size].
More or less than [size] elements can be added to this set.
Type Definitions
Set is a set of Ids.
https://pkg.go.dev/github.com/ava-labs/avalanchego/ids#Set