Using Vectors in Move
Vectors in Move are dynamic lists that can grow or shrink as needed, making them essential for managing collections of data, including structs.
Vectors
struct Balance has store {
owner: address,
balance: u64,
}
struct GlobalData has key {
balances: vector<Balance>,
}