pub type State = Tamagotchi;
Aliased Type§
struct State {
pub name: String,
pub date_of_birth: u64,
pub owner: ActorId,
pub fed: u64,
pub fed_block: u64,
pub entertained: u64,
pub entertained_block: u64,
pub rested: u64,
pub rested_block: u64,
pub allowed_account: Option<ActorId>,
}
Fields§
§name: String
§date_of_birth: u64
§owner: ActorId
§fed: u64
§fed_block: u64
§entertained: u64
§entertained_block: u64
§rested: u64
§rested_block: u64
§allowed_account: Option<ActorId>