📅  最后修改于: 2022-03-11 15:03:39.992000             🧑  作者: Mango
struct Account {
uint balance;
uint dailylimit;
}
// Option 1: Assign to an initialised struct
Account my_account = Account(0, 10);
// Option 2: Assign to individual fields as required
my_account.balance = 0;
my_account.dailylimit = 10;