Struct diem_types::account_config::resources::balance::BalanceResource
source · pub struct BalanceResource { /* private fields */ }
Expand description
The balance resource held under an account.
Implementations§
Trait Implementations§
source§impl Arbitrary for BalanceResource
impl Arbitrary for BalanceResource
§type Parameters = <u64 as Arbitrary>::Parameters
type Parameters = <u64 as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<<u64 as Arbitrary>::Strategy, fn(_: u64) -> BalanceResource>
type Strategy = Map<<u64 as Arbitrary>::Strategy, fn(_: u64) -> BalanceResource>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Debug for BalanceResource
impl Debug for BalanceResource
source§impl<'de> Deserialize<'de> for BalanceResource
impl<'de> Deserialize<'de> for BalanceResource
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MoveResource for BalanceResource
impl MoveResource for BalanceResource
source§impl MoveStructType for BalanceResource
impl MoveStructType for BalanceResource
const MODULE_NAME: &'static IdentStr = ACCOUNT_MODULE_IDENTIFIER
const STRUCT_NAME: &'static IdentStr = _
fn type_params() -> Vec<TypeTag> ⓘ
fn module_identifier() -> Identifier
fn struct_identifier() -> Identifier
fn struct_tag() -> StructTag
Auto Trait Implementations§
impl RefUnwindSafe for BalanceResource
impl Send for BalanceResource
impl Sync for BalanceResource
impl Unpin for BalanceResource
impl UnwindSafe for BalanceResource
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.