Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysiosystem::user_resources Struct Reference

#include <sysio.system.hpp>

Collaboration diagram for sysiosystem::user_resources:

Public Member Functions

bool is_empty () const
 
uint64_t primary_key () const
 

Public Attributes

name owner
 
asset net_weight
 
asset cpu_weight
 
int64_t ram_bytes = 0
 

Detailed Description

Definition at line 341 of file sysio.system.hpp.

Member Function Documentation

◆ is_empty()

bool sysiosystem::user_resources::is_empty ( ) const
inline

Definition at line 347 of file sysio.system.hpp.

347{ return net_weight.amount == 0 && cpu_weight.amount == 0 && ram_bytes == 0; }

◆ primary_key()

uint64_t sysiosystem::user_resources::primary_key ( ) const
inline

Definition at line 348 of file sysio.system.hpp.

348{ return owner.value; }

Member Data Documentation

◆ cpu_weight

asset sysiosystem::user_resources::cpu_weight

Definition at line 344 of file sysio.system.hpp.

◆ net_weight

asset sysiosystem::user_resources::net_weight

Definition at line 343 of file sysio.system.hpp.

◆ owner

name sysiosystem::user_resources::owner

Definition at line 342 of file sysio.system.hpp.

◆ ram_bytes

int64_t sysiosystem::user_resources::ram_bytes = 0

Definition at line 345 of file sysio.system.hpp.


The documentation for this struct was generated from the following file: